English

Space Efficient Linear Time Lempel-Ziv Factorization on Constant~Size~Alphabets

Data Structures and Algorithms 2013-10-08 v1

Abstract

We present a new algorithm for computing the Lempel-Ziv Factorization (LZ77) of a given string of length NN in linear time, that utilizes only NlogN+O(1)N\log N + O(1) bits of working space, i.e., a single integer array, for constant size integer alphabets. This greatly improves the previous best space requirement for linear time LZ77 factorization (K\"arkk\"ainen et al. CPM 2013), which requires two integer arrays of length NN. Computational experiments show that despite the added complexity of the algorithm, the speed of the algorithm is only around twice as slow as previous fastest linear time algorithms.

Keywords

Cite

@article{arxiv.1310.1448,
  title  = {Space Efficient Linear Time Lempel-Ziv Factorization on Constant~Size~Alphabets},
  author = {Keisuke Goto and Hideo Bannai},
  journal= {arXiv preprint arXiv:1310.1448},
  year   = {2013}
}
R2 v1 2026-06-22T01:40:52.421Z