Examveda

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

A. It skips sections of the text that cannot match.

B. It requires less preprocessing time.

C. It uses less memory.

D. It can handle multiple patterns efficiently.

Answer: Option A


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching