We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

Title: 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.
Comments: 11 pages
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1501.06259 [cs.DS]
  (or arXiv:1501.06259v1 [cs.DS] for this version)

Submission history

From: Bojian Xu [view email]
[v1] Mon, 26 Jan 2015 05:53:03 GMT (35kb)

Link back to: arXiv, form interface, contact.