Reversing longest previous factor tables is hard

9Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The Longest Previous Factor (LPF) table of a string s of length n is a table of size n whose ith element indicates the length of the longest substring of s starting from position i that has appeared previously in s. LPF tables facilitate the computing of the Lempel-Ziv factorization of strings [21,22] which plays an important role in text compression. An open question from Clément, Crochemore and Rindone [4] asked whether the following problem (which we call the reverse LPF problem) can be solved efficiently: Given a table W, decide whether it is the LPF table of some string, and find such a string if so. In this paper, we address this open question by proving that the reverse LPF problem is NP-hard. Thus, there is no polynomial time algorithm for solving it unless P = NP. Complementing with this general hardness result, we also design a linear-time online algorithm for the reverse LPF problem over input tables whose elements are all 0 or 1. © 2011 Springer-Verlag.

Cite

CITATION STYLE

APA

He, J., Liang, H., & Yang, G. (2011). Reversing longest previous factor tables is hard. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6844 LNCS, pp. 488–499). https://doi.org/10.1007/978-3-642-22300-6_41

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free