Boyer-Moore
Time: O(n/m) bestSpace: O(σ)Scans pattern right-to-left and uses bad-character shifts to skip large chunks.
Default
Comparing
Match
Mismatch
Skip
Found
SlowFast
Finish in
Scans pattern right-to-left and uses bad-character shifts to skip large chunks.