Examveda

What is the worst-case time complexity of the Rabin-Karp algorithm?

A. O(m + n)

B. O(m*n)

C. O(m + n*log n)

D. O(m*n)

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching