String Matching on Data Structure and Algorithms related Questions and Answers


Question :   What is the worst case running time of Rabin Karp Algorithm?
1. Theta(n)
2. Theta(n-m)
3. Theta((n-m+1)m)
4. Theta(nlogm)
Answer :   3 - Theta((n-m+1)m)  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter