This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingConcept theory, tags and interview notes for Rabin–Karp rolling hash.
What this asks
Find a pattern in a text by comparing rolling fingerprints.
Hash the pattern once, slide a window hash across the text, and verify characters whenever the fingerprints agree.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing