2008
DOI: 10.1016/j.ipl.2007.10.006
|View full text |Cite
|
Sign up to set email alerts
|

Computing Longest Previous Factor in linear time and applications

Abstract: Abstract. We give two optimal linear-time algorithms for computing the Longest Previous Factor (LPF) array corresponding to a string w. For any position i in w, LPF [i] gives the length of the longest factor of w starting at position i that occurs previously in w. Several properties and applications of LPF are investigated. They include computing the Lempel-Ziv factorization of a string and detecting all repetitions (runs) in a string in linear time independently of the integer alphabet size.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
137
0

Year Published

2009
2009
2019
2019

Publication Types

Select...
5
1

Relationship

1
5

Authors

Journals

citations
Cited by 113 publications
(140 citation statements)
references
References 16 publications
1
137
0
Order By: Relevance
“…It has been noticed in [4] that the content of the LPF table is the same as that of the LCP table up to some permutation. A question arises then: what permutation is it?…”
Section: Sorting Networkmentioning
confidence: 99%
See 4 more Smart Citations
“…It has been noticed in [4] that the content of the LPF table is the same as that of the LCP table up to some permutation. A question arises then: what permutation is it?…”
Section: Sorting Networkmentioning
confidence: 99%
“…For example, the algorithm in [14] reports all maximal repetitions (called runs) occurring in a string in O(|y| log |A|) time. It runs in linear time if a Suffix Array is used instead of a Suffix Tree [4]. Indeed the technique seems to be the only technique that leads to linear-time algorithms independently of the alphabet size for this type of question.…”
Section: Longest Previous Factormentioning
confidence: 99%
See 3 more Smart Citations