~/problems
Problems
Basics first, then the classics, then company-style assessments. Every problem has tests you run right here; multi-level ones unlock as you go. See the roadmap.
Advanced & competitive
String hashing
Rolling hashes and Rabin-Karp.
5 problems
Advanced & competitive
String hashing Rolling hashes and Rabin-Karp.
- Play first: The Cursed Book 1-minute game Rabin-Karp (rolling hash)
- Prefix hashes for O(1) substring comparison basics py · c++ · java easy
- Counting phrases on a ticker tape py · c++ · java medium
- Find every pattern occurrence code the boss py · c++ · java easy
- All periods of a string py · c++ · java medium
- Longest repeated substring py · c++ · java hard