Home / MCQ Bank / Computer
Computer String Matching

In which scenario does the Naive string matching algorithm perform well?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • When both the pattern and text are very short.

Related Computer Questions

What does the following function do? public Object some_func()throws emptyStackException { if(isEmpty()) throw new emptyStackException("underflow"); return first.getEle(); } What is the value of 'm' if the value of m is 19? Text-styling feature of MS word is? QuickTime is a _______ ? Which of the following is a HyperGraph, where V is the set of vertices, E is the set of edges?