pith. sign in

arxiv: 1801.07449 · v3 · pith:GKS3YQDJnew · submitted 2018-01-23 · 💻 cs.DS

Sliding Suffix Tree using LCA

classification 💻 cs.DS
keywords slidingtreewindowconstantsizesuffixthetatime
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.