计算机科学 > 数据结构与算法
[提交于 2019年6月4日]
标题:Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Hideo Bannai[v1] 2019年6月4日 星期二 00:00:00 UTC