Vidyalelo
Data Structure · Q6

String Matching

Programming · Data Structure · question 6

Q6

What is the main advantage of the Boyer-Moore algorithm over others?

A.
It skips sections of the text that cannot match.
Answer
B.
It requires less preprocessing time.
C.
It uses less memory.
D.
It can handle multiple patterns efficiently.

Answer: Option A

Solution

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