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

06/03/2019
by   Noriki Fujisato, et al.
0

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 Σ and parameterized alphabet Π, our algorithm runs in O(nπ) time and O(n) words of space, where π is the number of distinct symbols of Π in the string.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset