English

Full-fledged Real-Time Indexing for Constant Size Alphabets

Data Structures and Algorithms 2013-07-09 v3

Abstract

In this paper we describe a data structure that supports pattern matching queries on a dynamically arriving text over an alphabet ofconstant size. Each new symbol can be prepended to TT in O(1) worst-case time. At any moment, we can report all occurrences of a pattern PP in the current text in O(P+k)O(|P|+k) time, where P|P| is the length of PP and kk is the number of occurrences. This resolves, under assumption of constant-size alphabet, a long-standing open problem of existence of a real-time indexing method for string matching (see \cite{AmirN08}).

Keywords

Cite

@article{arxiv.1302.4016,
  title  = {Full-fledged Real-Time Indexing for Constant Size Alphabets},
  author = {Gregory Kucherov and Yakov Nekrich},
  journal= {arXiv preprint arXiv:1302.4016},
  year   = {2013}
}
R2 v1 2026-06-21T23:27:29.664Z