Examveda

Which algorithm is well-suited for string matching when dealing with long and complex patterns?

A. Boyer-Moore

B. Knuth-Morris-Pratt (KMP)

C. Rabin-Karp

D. Naive Search

Answer: Option A


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching