Paper record
W2155912811Tighter Lower Bounds on the Exact Complexity of String Matching
Richard J. Cole, Ramesh Hariharan, Mike Paterson, Uri Zwick
- Year
- 1995
- Venue
- SIAM Journal on Computing
- References
- 16
- Cited by
- 32
Details and counts from OpenAlex.
Abstract
This paper considers the exact number of character comparisons needed to find all occurrences of a pattern of length m in a text of length n using on-line and general algorithms. For on-line algorithms, a lower bound of about character comparisons is obtained. For general algorithms, a lower bound of about character comparisons is obtained. These lower bounds complement an on-line upper bound of about comparisons obtained recently by Cole and Hariharan. The lower bounds are obtained by finding patterns with interesting combinatorial properties. It is also shown that for some patterns off-line algorithms can be more efficient than on-line algorithms.