Practice
Learn
← Quit
0 / 0 correct
Algorithms
Hard
1 of 10
How does Rabin-Karp search for a pattern?
A
Compare character by character only
B
Compare rolling hashes of each text window with the pattern's hash, verifying on matches
C
Use binary search
D
Build a suffix tree