Real-Time String Indexing in Optimal Time
Gregory Kucherov, Yakov Nekrich
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.
Create a lesson
Related papers
Optimal-Size Strong Connectivity Preservers under Two Edge Failures in Subcubic Time
Shared title terminology · Wanhee Lee, Chenglin Fan
Optimizing the Steady-State Travel Time of Nash Flows over Time with Capacity Increases
Shared title terminology · Niklas Dahlmeier, Paul Paschmanns, Laura Ritter et al.
Online Timely Bin Packing Revisited: A Simpler Algorithm with Optimality in Special Cases
Shared title terminology · Pei-Lin Chiang, Wing-Kai Hon, Ying-Chia Huang et al.
Space-Efficient Text Indexing for Advanced Counting Queries
Shared title terminology · Solon P. Pissis, Sharma V. Thankachan
Bayesian Optimal Stopping: Invincible Prophets and Achievable Philosophers
Shared title terminology · Alireza AmaniHamedani, Ali Aouad, Senem Işık et al.
Running-Time Lower Bounds under FPT ≠ W[1]
Shared title terminology · Hendrik Molter