arXiv · 1801.07449
Sliding Suffix Tree using LCA
Abstract
We consider a sliding window $W$ over a stream of characters from some alphabet of constant size. The user wants to perform deterministic substring matching on the current sliding window content and obtain positions of the matches. We present an indexed version of the sliding window using the suffix tree, the link tree and the lowest common ancestor. The data structure of size $\Theta(|W|)$ has optimal time queries $\Theta(m+occ)$ and amortized constant time updates, where $m$ is the length of the query string and $occ$ is the number of its occurrences.
Explore related subjects
Keep this discovery
Andrej Brodnik, Matevž Jekovec. 2018-01-23. Sliding Suffix Tree using LCA. https://arxiv.org/abs/1801.07449
Cite the original work for its findings. Save a collection to share your selection of sources.