Lempel-Ziv Factorization May Be Harder Than Computing All Runs
Abstract
The complexity of computing the Lempel-Ziv factorization and the set of all runs (= maximal repetitions) is studied in the decision tree model of computation over ordered alphabet. It is known that both these problems can be solved by RAM algorithms in time, where is the length of the input string and is the number of distinct letters in it. We prove an lower bound on the number of comparisons required to construct the Lempel-Ziv factorization and thereby conclude that a popular technique of computation of runs using the Lempel-Ziv factorization cannot achieve an time bound. In contrast with this, we exhibit an decision tree algorithm finding all runs in a string. Therefore, in the decision tree model the runs problem is easier than the Lempel-Ziv factorization. Thus we support the conjecture that there is a linear RAM algorithm finding all runs.
Cite
@article{arxiv.1409.5641,
title = {Lempel-Ziv Factorization May Be Harder Than Computing All Runs},
author = {Dmitry Kosolobov},
journal= {arXiv preprint arXiv:1409.5641},
year = {2014}
}
Comments
12 pages, 3 figures, submitted