Computing Longest Previous Factor in linear time and applications - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Information Processing Letters Année : 2008

Computing Longest Previous Factor in linear time and applications

Résumé

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.
Fichier principal
Vignette du fichier
IPL07.pdf (134.07 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00619691 , version 1 (13-02-2013)

Identifiants

Citer

Maxime Crochemore, Lucian Ilie. Computing Longest Previous Factor in linear time and applications. Information Processing Letters, 2008, 106 (2), pp.75-80. ⟨10.1016/j.ipl.2007.10.006⟩. ⟨hal-00619691⟩
173 Consultations
1226 Téléchargements

Altmetric

Partager

Gmail Mastodon Facebook X LinkedIn More