Code and notes for the Algorithms Specialization course offered by Stanford University.
- Karatsuba multiplication
- Merge sort
- Inversion counter
- Strassens matrix multiplication
- Quicksort
- Randomized selection
- Random contraction
- Breadth first graph search (BFS)
- BFS for computing shortest path
- Depth first graph search (DFS)
- DFS for computing topological ordering of DAG
- Kosaraju's two-pass for computing strongly connected graph components
- Dijkstra's shortest path
- Median maintenance via heaps
- TwoSum via hash table