English

Linear time construction of compressed text indices in compact space

Data Structures and Algorithms 2016-05-24 v3

Abstract

We show that the compressed suffix array and the compressed suffix tree for a string of length nn over an integer alphabet of size σn\sigma\leq n can both be built in O(n)O(n) (randomized) time using only O(nlogσ)O(n\log\sigma) bits of working space. The previously fastest construction algorithms that used O(nlogσ)O(n\log\sigma) bits of space took times O(nloglogσ)O(n\log\log\sigma) and O(nlogϵn)O(n\log^{\epsilon}n) respectively (where ϵ\epsilon is any positive constant smaller than 11). In the passing, we show that the Burrows-Wheeler transform of a string of length nn over an alphabet of size σ\sigma can be built in deterministic O(n)O(n) time and space O(nlogσ)O(n\log\sigma). We also show that within the same time and space, we can carry many sequence analysis tasks and construct some variants of the compressed suffix array and compressed suffix tree.

Keywords

Cite

@article{arxiv.1401.0936,
  title  = {Linear time construction of compressed text indices in compact space},
  author = {Djamal Belazzougui},
  journal= {arXiv preprint arXiv:1401.0936},
  year   = {2016}
}

Comments

Expanded version of a paper appeared in proceedings of STOC 2014 conference

R2 v1 2026-06-22T02:39:23.420Z