Real-Time String Indexing in Optimal Time
Gregory Kucherov, Yakov Nekrich
Key points
From the paper's conclusion- Our data structure spends $O(1)$ worst-case time w.h.p. for processing each new letter appended to $T$ and worst-case $O(|P|+occ)$ time for reporting all occurrences of $P$, where $T$ and $P$ are strings over an integer alphabet.
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)$ worst-case time w.h.p. for processing each new letter appended to $T$ and worst-case $O(|P|+occ)$ time for reporting all occurrences of $P$, where $T$ and $P$ 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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Suffixient Arrays: A New Efficient Suffix Array Compression Technique.Theory of computing systems · 2026
- Space-Efficient Text Indexing for Advanced Counting QueriesarXiv · 2026
- Tiny Suffix ArraysarXiv · 2026
- String Indexing for Maximal Gap-Bounded Occurrence ClustersarXiv · 2026
- Move-rb: Faster Bi-Directional r-indexes and Approximate Pattern MatchingarXiv · 2026
- Cell-Probe Lower Bounds and Complexity-Preserving Reductions for Suffix Array QueriesarXiv · 2026