Abstract

Following (Kolpakov et al., 2013; Gawrychowski and Manea, 2015), we continue the study of {\em αα-gapped repeats} in strings, defined as factors uvuuvu with ∣uv∣≤α∣u∣|uv|\leq α|u|. Our main result is the O(αn)O(αn) bound on the number of {\em maximal} αα-gapped repeats in a string of length nn, previously proved to be O(α2n)O(α^2 n) in (Kolpakov et al., 2013). For a closely related notion of maximal δδ-subrepetition (maximal factors of exponent between 1+δ1+δ and 22), our result implies the O(n/δ)O(n/δ) bound on their number, which improves the bound of (Kolpakov et al., 2010) by a log⁡n\log n factor. We also prove an algorithmic time bound O(αn+S)O(αn+S) (SS size of the output) for computing all maximal αα-gapped repeats. Our solution, inspired by (Gawrychowski and Manea, 2015), is different from the recently published proof by (Tanimura et al., 2015) of the same bound. Together with our bound on SS, this implies an O(αn)O(αn)-time algorithm for computing all maximal αα-gapped repeats.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.