Dynamic string searching

  • Authors:
  • Arne Andersson;Mikkel Thorup

  • Affiliations:
  • Computing Science Department, Information Technology, Uppsala University, Sweden;AT&T Labs-Research, 180 Park Avenue, Florhan Park, NJ

  • Venue:
  • SODA '01 Proceedings of the twelfth annual ACM-SIAM symposium on Discrete algorithms
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Optimal bounds are presented for dynamic string searching. If the longest common prefix between a query key x and a currently stored string y is ℓ words, then finding the stored string lexicographically nearest to x takes optimal &THgr;(√log n/log log n + ℓ) time. Similarly, we can insert and delete strings from the stored set within this time bound. The space requirements is linear and the time bounds are worst-case.