arXiv · 1906.00563
Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets
Abstract
We present the first worst-case linear time algorithm that directly computes the parameterized suffix and LCP arrays for constant sized alphabets. Previous algorithms either required quadratic time or the parameterized suffix tree to be built first. More formally, for a string over static alphabet $\Sigma$ and parameterized alphabet $\Pi$, our algorithm runs in $O(n\pi)$ time and $O(n)$ words of space, where $\pi$ is the number of distinct symbols of $\Pi$ in the string.
Explore related subjects
Keep this discovery
Noriki Fujisato, Yuto Nakashima, Shunsuke Inenaga, Hideo Bannai, Masayuki Takeda. 2019-06-03. Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets. https://arxiv.org/abs/1906.00563
Cite the original work for its findings. Save a collection to share your selection of sources.