摘要:
《Programming Abstractions in C》学习第80天,p338-p346,总计9页。 一、技术总结 栈的实现包括入栈、出栈、判断栈是否为满,判断栈是否为空等。作者结合RPN计算器来实现,稍显无聊。 /* * File: rpncalc.c * * This program si 阅读全文
摘要:
《Programming Abstractions in C》学习第79天,p331-p337,总计7页。 一、技术总结 /* * File: stack.h * * This interface defines an abstraction for stacks. In any * single 阅读全文
摘要:
《Programming Abstractions in C》学习第78天,p327-p330,总计4页。 一、技术总结 1.ADT(抽象数据类型) p328, A type defined in term of its behavior rather than its represnetation 阅读全文
摘要:
《Programming Abstractions in C》学习第74天,p303-p305总结,总计3页。 一、技术总结 1.时间复杂度分类(complexity classes) Class Notation Example constant O(1) Returning the first 阅读全文