Examveda

Which string matching algorithm performs well with patterns that have repeating substrings?

A. Boyer-Moore

B. Rabin-Karp

C. Naive Search

D. Knuth-Morris-Pratt (KMP)

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching