
Course 5
Master advanced ideas for high-level problems. This course includes string algorithms, advanced graph algorithms, deeper dynamic programming techniques, Fenwick tree, meet-in-the-middle, centroid decomposition, virtual trees, parallel binary search, and other advanced topics.
Module 1: String Algorithms
Hashing, Z Function, Prefix function, Manacher’s algorithm
- String Hashing Algorithms
String Hashing Algorithms
- Z-function
Z-function
- Prefix function. Knuth-Morris-Pratt algorithm
Prefix function. Knuth-Morris-Pratt algorithm