Efficiently Finding All Maximal $\alpha$-gapped Repeats
Data Structures and Algorithms
2015-10-01 v1
Abstract
For , an -gapped repeat in a word is a factor of such that ; the two factors in such a repeat are called arms, while the factor is called gap. Such a repeat is called maximal if its arms cannot be extended simultaneously with the same symbol to the right or, respectively, to the left. In this paper we show that the number of maximal -gapped repeats that may occur in a word is upper bounded by . This allows us to construct an algorithm finding all the maximal -gapped repeats of a word in ; this is optimal, in the worst case, as there are words that have maximal -gapped repeats. Our techniques can be extended to get comparable results in the case of -gapped palindromes, i.e., factors with .
Cite
@article{arxiv.1509.09237,
title = {Efficiently Finding All Maximal $\alpha$-gapped Repeats},
author = {Paweł Gawrychowski and Tomohiro I and Shunsuke Inenaga and Dominik Köppl and Florin Manea},
journal= {arXiv preprint arXiv:1509.09237},
year = {2015}
}