Examveda

Which algorithm is considered to be the fastest for string matching in practice, especially for large texts?

A. Rabin-Karp

B. Knuth-Morris-Pratt (KMP)

C. Naive Search

D. Boyer-Moore

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching