Examveda

What is the main disadvantage of the Naive string matching algorithm?

A. It is complex to implement.

B. It requires the text to be sorted.

C. It cannot handle patterns with special characters.

D. It can be slow for large texts.

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching