Rabin-Karp: Searching With Rolling Fingerprints
Most string searches work by comparing letters. Rabin-Karp takes a different road: it boils every chunk of text down to a single number, a fingerprint, and compares the numbers instead.…
Search the explainers — or ask the AI
Enter asks the AI · Esc closes