Paper record

W2168334921

On the exact complexity of string matching

Livio Colussi, Zvi Galil, Raffaele Giancarlo

Year
2002
Venue
Annual Symposium on Foundations of Computer Science
References
16
Cited by
27

Details and counts from OpenAlex.

Abstract

The maximal number of character comparisons made by a linear-time string matching algorithm, given a text string of length n and a pattern string of length m over a general alphabet, is investigated. The number is denoted by c(n,m) or approximated by (1+C)n, where C is a universal constant. The subscript 'online' is added when attention is restricted to online algorithms, and the superscript '1' is added when algorithms that find only one occurrence of the pattern in the text are considered. It is well known that n>