TY - JOUR
T1 - Computing the Longest Previous Factor
AU - Crochemore, Maxime
AU - Ilie, Lucian
AU - Iliopoulos, Costas S.
AU - Kubica, Marcin
AU - Rytter, Wojciech
AU - Waleń, Tomasz
PY - 2013/1
Y1 - 2013/1
N2 - The Longest Previous Factor array gives, for each position i in a string y, the length of the longest factor (substring) of y that occurs both at i and to the left of i in y. The Longest Previous Factor array is central in many text compression techniques as well as in the most efficient algorithms for detecting motifs and repetitions occurring in a text. Computing the Longest Previous Factor array requires usually the Suffix Array and the Longest Common Prefix array. We give the first time-space optimal algorithm that computes the Longest Previous Factor array, given the Suffix Array and the Longest Common Prefix array. We also give the first linear-time algorithm that computes the permutation that applied to the Longest Common Prefix array produces the Longest Previous Factor array.
AB - The Longest Previous Factor array gives, for each position i in a string y, the length of the longest factor (substring) of y that occurs both at i and to the left of i in y. The Longest Previous Factor array is central in many text compression techniques as well as in the most efficient algorithms for detecting motifs and repetitions occurring in a text. Computing the Longest Previous Factor array requires usually the Suffix Array and the Longest Common Prefix array. We give the first time-space optimal algorithm that computes the Longest Previous Factor array, given the Suffix Array and the Longest Common Prefix array. We also give the first linear-time algorithm that computes the permutation that applied to the Longest Common Prefix array produces the Longest Previous Factor array.
UR - http://www.scopus.com/inward/record.url?scp=84866977322&partnerID=8YFLogxK
U2 - 10.1016/j.ejc.2012.07.011
DO - 10.1016/j.ejc.2012.07.011
M3 - Article
AN - SCOPUS:84866977322
SN - 0195-6698
VL - 34
SP - 15
EP - 26
JO - EUROPEAN JOURNAL OF COMBINATORICS
JF - EUROPEAN JOURNAL OF COMBINATORICS
IS - 1
ER -