ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
What is the basic principle in the Rabin-Karp algorithm?
Correct Answer: A — Hashing
Rabin-Karp uses hashing. Every substring of the text is converted to a hash value and compared with the hash value of the pattern for fast matching.