Computing the Maximal-Exponent Repeats of an Overlap-Free String in Linear Time

Research output: Chapter in Book/Report/Conference proceedingConference paper

17 Citations (Scopus)

Abstract

The exponent of a string is the quotient of the strings length over the strings smallest period. The exponent and the period of a string can be computed in time proportional to the strings length. We design an algorithm to compute the maximal exponent of factors of an overlap-free string. 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 strings derives from algorithms to compute all maximal repetitions, also called runs, occurring in the string. We show there is a linear number of maximal-exponent repeats in an overlap-free string. The algorithm can locate all of them in linear time.

Original languageEnglish
Title of host publicationString Processing and Information Retrieval
Subtitle of host publication19th International Symposium, SPIRE 2012, Cartagena de Indias, Colombia, October 21-25, 2012. Proceedings
PublisherSpringer
Pages61-72
Number of pages12
ISBN (Electronic)9783642341090
ISBN (Print)9783642341083
DOIs
Publication statusPublished - 2012

Publication series

NameLecture Notes in Computer Science
Volume7608
ISSN (Print)0302-9743

Keywords

  • REPETITIONS
  • DEJEANS CONJECTURE
  • RUNS

Fingerprint

Dive into the research topics of 'Computing the Maximal-Exponent Repeats of an Overlap-Free String in Linear Time'. Together they form a unique fingerprint.

Cite this