Question

The Boyer-Moore algorithm is known for its efficiency in practice, especially for long patterns and large alphabets. It uses two heuristics: the bad character heuristic and the good suffix heuristic. Which direction does it typically start matching from?

A From the beginning of the pattern.
B From the middle of the pattern.
C From the end of the pattern.
D Randomly chooses a starting point.
E From the beginning of the text.
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)