Software Engineering KB

Home

❯

01 Foundations

❯

01 Algorithms

❯

02 Sub Concept

❯

Boyer Moore

Boyer-Moore

Feb 10, 20261 min read

  • algorithms
  • string-algorithms
  • boyer-moore
  • pattern-matching

Boyer-Moore

← Back to Pattern Matching

A string matching algorithm that scans the pattern right-to-left and uses bad character and good suffix heuristics to skip large portions of text. Sublinear in practice for natural language text. O(n/m) best case, O(nm) worst case.

algorithms string-algorithms boyer-moore pattern-matching


Graph View

Backlinks

  • Pattern Matching

Created with Quartz v4.5.2 © 2026

  • GitHub