Skip to content

Reverse-Factor

Combination of Deterministic-Finite-Automaton and Boyer-Moore. It uses the suffix automaton of the reverse of the pattern. It works in O(nm)O(nm) worst case time.

Appeared in: