English

LZ-End Parsing in Compressed Space

Data Structures and Algorithms 2020-12-15 v2

Abstract

We present an algorithm that constructs the LZ-End parsing (a variation of LZ77) of a given string of length nn in O(nlog)O(n\log\ell) expected time and O(z+)O(z + \ell) space, where zz is the number of phrases in the parsing and \ell is the length of the longest phrase. As an option, we can fix \ell (e.g., to the size of RAM) thus obtaining a reasonable LZ-End approximation with the same functionality and the length of phrases restricted by \ell. This modified algorithm constructs the parsing in streaming fashion in one left to right pass on the input string w.h.p. and performs one right to left pass to verify the correctness of the result. Experimentally comparing this version to other LZ77-based analogs, we show that it is of practical interest.

Keywords

Cite

@article{arxiv.1611.01769,
  title  = {LZ-End Parsing in Compressed Space},
  author = {Dominik Kempa and Dmitry Kosolobov},
  journal= {arXiv preprint arXiv:1611.01769},
  year   = {2020}
}

Comments

12 pages, 4 figure

R2 v1 2026-06-22T16:43:24.300Z