- Keep a monotonic array
- If the present element is freshly greatest append it.
- Else, Binary search and update so that it reduces for further coming numbers
- Word ladder -> BFS because we don't want loop. And maybe optimize using A*
- Shortest path with obstracles move any direction. -> Perlocation problem BFS with eroding the graph.
Cat and Mouse -> DP on Graphs
Overwhelmed by the name dutch national flag algorithm -> which is sorting 0,1,2 in O(n) Also, levenshtein_distance -> which is edit distance: DP