http://zhedahht.blog.163.com/blog/static/254111742007127104759245/
(01)-把二元查找树转变成排序的双向链表 ........................................................................ 2
(02)-设计包含min函数的栈 .................................................................................................. 5
(03)-求子数组的最大和 ........................................................................................................ 8
(04)-在二元树中找出和为某一值的所有路径 .................................................................. 10
(05)-查找最小的k个元素 .................................................................................................... 11
(06)-判断整数序列是不是二元查找树的后序遍历结果 .................................................. 13
(07)-翻转句子中单词的顺序 .............................................................................................. 15
(08)-求 1+2+...+n ................................................................................................................. 17
(09)-查找链表中倒数第k个结点 ........................................................................................ 20
(10)-在排序数组中查找和为给定值的两个数字 .............................................................. 23
(11)-求二元查找树的镜像 .................................................................................................. 25
(12)-从上往下遍历二元树 .................................................................................................. 28
(13)-第一个只出现一次的字符 .......................................................................................... 30
(14)-圆圈中最后剩下的数字 .............................................................................................. 33
(15)-含有指针成员的类的拷贝 .......................................................................................... 37
(16)-O(logn)求Fibonacci数列 .............................................................................................. 40
(17)-把字符串转换成整数 .................................................................................................. 45
(18)-用两个栈实现队列 ...................................................................................................... 47
(19)-反转链表 ...................................................................................................................... 50
(20)-最长公共子串 .............................................................................................................. 51
(21)-左旋转字符串 .............................................................................................................. 56
(22)-整数的二进制表示中 1 的个数 .................................................................................. 57
(23)-跳台阶问题 .................................................................................................................. 60
(24)-栈的push、pop序列 .................................................................................................... 60
(25)-在从 1 到n的正数中 1 出现的次数
............................................................................... 63
(26)-和为n连续正数序列 ....................................................................................................... 67
(27)-二元树的深度 ................................................................................................................. 70
(28)-字符串的排列 ................................................................................................................. 72
(29)-调整数组顺序使奇数位于偶数前面 ............................................................................. 74
(30)-异常安全的赋值运算符重载函数 ................................................................................. 77