Vidyalelo
Data Structure · Q33

String Matching

Programming · Data Structure · question 33

Q33

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board