I am having a hard time understanding the Rabin-Karp algorithm with modulo arithmetic. My questions.
Why we use modulus to determine the hash of the string being analyzed?
How to determine the modulus to be used?
I am having a hard time understanding the Rabin-Karp algorithm with modulo arithmetic. My questions.
Why we use modulus to determine the hash of the string being analyzed?
How to determine the modulus to be used?
Copyright © 2021 Jogjafile Inc.