摘要:
15、1 什么叫递归A definition in which something is defined in terms of smaller versions of inself.15、2 使用简单变量设计递归算法N! = N * N( N – 1 )!15、3 汉诺塔15、4 使用构造变量设计递归算法15、5 使用递归还是迭代It’s depended on two issues:efficiency and the nature of the problem being solved. 阅读全文
摘要:
13、1 链表是一个抽象数据类型List: A variable-length, linear collection of homogeneous components13、2 未排序的链表插入和删除操作,顺序查找,排序。13、3 已排序的链表插入,顺序查找,二分查找,删除13、4 理解字符串 阅读全文
摘要:
10、1 系统自带的简单类型simple types: integral: char short int long boolenumfloating: float double long doubleThese value are for one particular machine.Your machine’s values may be different.(每种类型所占用的内存值在不同的机器上是不同的)10、2 其他的一些C++操作符Assignment Operators and Assignment ExpressionsIncrement and Decrement Operato 阅读全文