A library containing some data structures and algorithms written in c/c++.
Compile and run
$ make
$ make runFor usage, see function main()
| Name | Source | Comment |
|---|---|---|
| Linked List | LinkedList.h | support sort |
| Binary Heap | BinaryHeap.h | priority queue |
| Hash Table | HashTable.h | use bucket list |
| AVL Tree | AVLTree.h | support balanced insert and remove |
| Disjoint Set | DisjointSet.h DisjointSet.cpp | express relation of equivalence |
| Graph | Graph.h Graph.cpp | use adjacent list or matrix; node stores nonnegative number |
| Name | Source | Comment |
|---|---|---|
| Timer | Timer.h Timer.cpp | calculate program execution time |
See the LICENSE file for license rights and limitations.