Skip to main content
Loading page content
Algo
Flow
Visualizers
Mental Math
Dashboard
Log in
Sign up
Back to Visualizer
Question 1 of 5
Searching
• Rabin-Karp Algorithm
What technique does the Rabin-Karp algorithm primarily use to search for a pattern?
A
Hashing the pattern and comparing it with rolling hashes of text substrings
B
Sorting the text
C
Building a binary search tree of characters
D
Using a linked list of characters