Sliding Suffix Tree using LCA
Abstract: We consider a sliding window 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 has optimal time queries and amortized constant time updates, where is the length of the query string and is the number of its occurrences.
Paper Prompts
Sign up for free to create and run prompts on this paper.