2. 字符串
### 2.1 基本练习
* [拓扑结构相同子树](https://github.com/LeeeYou/Algorithm2Practice/blob/master/src/com/algorithm2practice/string/ex01/IdenticalTree.java)
* [词语变形](https://github.com/LeeeYou/Algorithm2Practice/blob/master/src/com/algorithm2practice/string/ex01/Transform.java)
3. 栈和队列
### 3.1 基本练习
* [可查询最值的栈](https://github.com/LeeeYou/Algorithm2Practice/blob/master/src/com/algorithm2practice/stack_queue/ex01/Solution.java)
基本排序算法简单测试比较,随机生成5万个数值,排序的时间对比如下:
排序算法 | 耗时(ms) |
---|---|
BubbleSort | 耗时:4982 |
InsertionSort | 耗时:4690 |
ShellSort | 耗时:2168 |
SelectionSort | 耗时:1961 |
MergeSort | 耗时:10 |
HeapSort | 耗时:9 |
QuickSort | 耗时:8 |