arXiv · 1501.06259
On Longest Repeat Queries
Abstract
Repeat finding in strings has important applications in subfields such as computational biology. Surprisingly, all prior work on repeat finding did not consider the constraint on the locality of repeats. In this paper, we propose and study the problem of finding longest repetitive substrings covering particular string positions. We propose an $O(n)$ time and space algorithm for finding the longest repeat covering every position of a string of size $n$. Our work is optimal since the reading and the storage of an input string of size $n$ takes $O(n)$ time and space. Because any substring of a repeat is also a repeat, our solution to longest repeat queries effectively provides a "stabbing" tool for practitioners for finding most of the repeats that cover particular string positions.
Explore related subjects
Keep this discovery
Atalay Mert İleri, M. Oğuzhan Külekci, Bojian Xu. 2015-01-26. On Longest Repeat Queries. https://arxiv.org/abs/1501.06259
Cite the original work for its findings. Save a collection to share your selection of sources.