-
Data structures
-
Algorithms
- binary search (iterative)
- merge sort
- merge sort v2
- quicksort
- heapsort
- counting sort
- shell sort, insertion sort, selection sort
- math: isprime, all factors, prime factors, gcd, lcm, fast exponentiation
- Graph, bfs, dfs
- topological sort
- connected components in undirected graphs
- strongly connected components in directed graphs
- weighted graph
- kruskal's algorithm for mst
- dijkstra's
- bit manipulation
- reverse linked list