- This is the place where I put interesing and useful algorithms.
- Most algorithms are tested by the test sets on HackerRank.
All are in the chained dictionary version.
- trie.py
- trie_with_count.py
- trie_with_end_sign.py
Implemented in the array version.
- disjoint_set.py
Use disjoint-set. A minimum spanning tree/greedy algorithm.
- kruskal.py
Has traversal and path algorithms for shortest reach.
- BFS.py
- dijkstra.py
- prime.py