Range Predecessor and Lempel-Ziv Parsing
Abstract
The Lempel-Ziv parsing of a string (LZ77 for short) is one of the most important and widely-used algorithmic tools in data compression and string processing. We show that the Lempel-Ziv parsing of a string of length on an alphabet of size can be computed in time ( time if we allow randomization) using bits of working space; that is, using space proportional to that of the input string in bits. The previous fastest algorithm using space takes time. We also consider the important rightmost variant of the problem, where the goal is to associate with each phrase of the parsing its most recent occurrence in the input string. We solve this problem in time, using the same working space as above. The previous best solution for rightmost parsing uses time and space. As a bonus, in our solution for rightmost parsing we provide a faster construction method for efficient 2D orthogonal range reporting, which is of independent interest.
Cite
@article{arxiv.1507.07080,
title = {Range Predecessor and Lempel-Ziv Parsing},
author = {Djamal Belazzougui and Simon J. Puglisi},
journal= {arXiv preprint arXiv:1507.07080},
year = {2015}
}
Comments
25 pages