~/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.
6 problems
Advanced & competitive
String hashing Rolling hashes and Rabin-Karp.
- Basics: prefix hashes for O(1) substring comparison basics py · c++ · java easy
- Counting phrases on a ticker tape py · c++ · java easy
- Repeated DNA Sequences py · c++ · java easy
- Longest repeated substring py · c++ · java hard
- All periods of a string py · c++ · java medium
- Find every pattern occurrence py · c++ · java easy