用于练习和实现一些常用的数据结构和算法。参考资料为《算法》,《算法导论》,《C++ 数据结构与算法》。
-
graph 1.1. BFS
1.2. DFS
-
hash
-
search
-
sort
1.1. Bubble sort
1.2. Selection sort
1.3. Quick sort
1.4. Shell sort
-
string
-
Dynamic Array
-
Linked List
-
Stack
-
Queue
4.1. Priority queue
-
Heap
5.1. Binary heap
5.2. Multi heap
5.3. Treap
-
Bag
-
Binary tree
7.1. Binary tree
7.2. Binary index tree
-
Trie
8.1. Trie
8.2. Array trie
8.3. Double array trie
8.4. Compressed Trie
-
AVL
-
Red black tree
10.1. Red black tree
10.2. 2-3 tree
10.3. 2-3-4 tree
-
B tree
11.1. B tree
11.2. B+ tree(In memory)
-
Union find
-
Hash table
-
Segment Tree