arXiv:2611.13950cs.DSNov 2026

Manuscript Offprint

arXiv:2611.13950

Real-Time String Indexing in Optimal Time

Gregory Kucherov, Yakov Nekrich

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 O(1)O(1) worst-case time w.h.p. for processing each new letter appended to TT and worst-case O(∣P∣+occ)O(|P|+occ) time for reporting all occurrences of PP, where TT and PP 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.

A PDF page turning into lines of clean text

Preparing the full text

It will appear here by itself. You can read the abstract meanwhile.