English

Computing Lempel-Ziv Factorization Online

Data Structures and Algorithms 2012-12-03 v4

Abstract

We present an algorithm which computes the Lempel-Ziv factorization of a word WW of length nn on an alphabet Σ\Sigma of size σ\sigma online in the following sense: it reads WW starting from the left, and, after reading each r=O(logσn)r = O(\log_{\sigma} n) characters of WW, updates the Lempel-Ziv factorization. The algorithm requires O(nlogσ)O(n \log \sigma) bits of space and O(n \log^2 n) time. The basis of the algorithm is a sparse suffix tree combined with wavelet trees.

Keywords

Cite

@article{arxiv.1202.5233,
  title  = {Computing Lempel-Ziv Factorization Online},
  author = {Tatiana Starikovskaya},
  journal= {arXiv preprint arXiv:1202.5233},
  year   = {2012}
}
R2 v1 2026-06-21T20:24:07.481Z