English

Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets

Data Structures and Algorithms 2019-06-04 v1

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π)O(n\pi) time and O(n)O(n) words of space, where π\pi is the number of distinct symbols of Π\Pi in the string.

Keywords

Cite

@article{arxiv.1906.00563,
  title  = {Direct Linear Time Construction of Parameterized Suffix and LCP Arrays for Constant Alphabets},
  author = {Noriki Fujisato and Yuto Nakashima and Shunsuke Inenaga and Hideo Bannai and Masayuki Takeda},
  journal= {arXiv preprint arXiv:1906.00563},
  year   = {2019}
}

Comments

submitted to SPIRE 2019