AlgorithmsStringsEdit on GitHubEdit history
Rabin–Karp
1987
A string search that finds pattern candidates by updating the hash of the text window in constant time with a rolling hash.
Origin
Richard M. Karp, Michael O. Rabin (1987). Efficient Randomized Pattern-Matching Algorithms. IBM Journal of Research and Development 31(2).doi:10.1147/rd.312.0249 — checked against Crossref, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Derived algorithms
What it led to
Bentley–McIlroy Compression1999
Structural analysisTo find long repeated strings, it uses the Karp–Rabin technique of computing rolling-hash fingerprints for blocks
Winnowing2003
Author statementComputes k-gram hashes with a Karp–Rabin-style rolling hash and then selects the minimum in each window. — doi:10.1145/872757.872770
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…