Computing the Longest Unbordered Substring - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2015

Computing the Longest Unbordered Substring

Résumé

A substring of a string is unbordered if its only border is the empty string. The study of unbordered substrings goes back to the paper of Ehrenfeucht and Silberger [7]. The main focus of [7] and of subsequent papers was to elucidate the relationship between the longest unbordered substring and the minimal period of strings. In this paper, we consider the algorithmic problem of computing the longest unbordered substring of a string. The problem was introduced recently in [12], where the authors showed that the average-case running time of the simple, border-array based algorithm can be bounded by O(n 2 /σ 4) for σ being the size of the alphabet. (The worst-case running time remained O(n 2).) Here we propose two algorithms, both presenting substantial theoretical improvements to the result of [12]. The first algorithm has O(n log n) average-case running time and O(n 2) worst-case running time, and the second algorithm has O(n 1.5) worst-case running time.
Fichier principal
Vignette du fichier
main.pdf (292.89 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01250721 , version 1 (05-01-2016)

Identifiants

Citer

Pawel Gawrychowski, Gregory Kucherov, Benjamin Sach, Tatiana Starikovskaya. Computing the Longest Unbordered Substring. Proc. of the 22nd International Symposium on String Processing and Information Retrieval (SPIRE), September 1-4, 2015, London, UK, Sep 2015, London, United Kingdom. pp.12, ⟨10.1007/978-3-319-23826-5_24⟩. ⟨hal-01250721⟩
185 Consultations
213 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More