Examveda

What is the worst case running time of Rabin Karp Algorithm?

A. Theta(n)

B. Theta(n-m)

C. Theta((n-m+1)m)

D. Theta(nlogm)

Answer: Option C


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching