Examveda

In the Boyer-Moore algorithm, how is the "good suffix rule" utilized?

A. It preprocesses the text.

B. It creates hash values for substrings.

C. It processes the text in reverse.

D. It shifts the pattern to align with previously matched suffixes.

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching