Commentz-Walter Algorithm (Multiple String Search String Search)
Jump to navigation
Jump to search
Time Complexity
$O(mn)$
Space Complexity
$O(km)$ words
(Derived: Number of states of the automaton that is created)
Description
Automaton-based, constructs a converse state machine from the given patterns
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Word RAM
Year
1979