Real-Time String Indexing in Optimal Time
arXiv:2611.13950
Abstract
In this paper we describe the first fully real-time indexing solution for pattern matching over an arbitrary integer alphabet. Our data structure spends worst-case time w.h.p. for processing each new letter appended to and worst-case time for reporting all occurrences of , where and are strings over an integer alphabet. The main idea of our solution is a novel representation of the suffix tree, the path-decomposed suffix tree, which does not store the full topology of the suffix tree but instead decomposes it into paths, each stored in a dictionary that encodes parent--child relationships indirectly.
arXiv comment30 pages, 7 figures