1.

What is the basic principle in Rabin Karp algorithm?(a) Hashing(b) Sorting(c) Augmenting(d) Dynamic ProgrammingPlease answer the question asap those who know Rabin Karp algorithm.

Answer»

Right option is (a) Hashing

Easy explanation - The basic PRINCIPLE employed in RABIN Karp algorithm is hashing. In the GIVEN text EVERY substring is converted to a hash value and compared with the hash value of the PATTERN.



Discussion

No Comment Found

Related InterviewSolutions