Computing maximal-exponent factors in an overlap-free word - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Journal of Computer and System Sciences Année : 2016

Computing maximal-exponent factors in an overlap-free word

Golnaz Badkobeh
  • Fonction : Auteur
Maxime Crochemore

Résumé

The exponent of a word is the quotient of its length over its smallest period. The exponent and the period of a word can be computed in time proportional to the word length. We design an algorithm to compute the maximal exponent of all factors of an overlap-free word. Our algorithm runs in linear-time on a fixed-size alphabet, while a naive solution of the question would run in cubic time. The solution for non overlap-free words derives from algorithms to compute all maximal repetitions, also called runs, occurring in the word. We also show there is a linear number of occurrences of maximal-exponent factors in an overlap-free word. Their maximal number lies between 0.66n and 2.25n in a word of length n. The algorithm can additionally locate all of them in linear time.
Fichier principal
Vignette du fichier
maxexp.pdf (209.86 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01806284 , version 1 (01-06-2018)

Identifiants

  • HAL Id : hal-01806284 , version 1

Citer

Golnaz Badkobeh, Maxime Crochemore. Computing maximal-exponent factors in an overlap-free word . Journal of Computer and System Sciences, 2016. ⟨hal-01806284⟩
27 Consultations
88 Téléchargements

Partager

Gmail Facebook X LinkedIn More