arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1501.06259cs.DS
收藏

关于最长重复次数

On Longest Repeat Queries

Atalay Mert İleri, M. Oğuzhan Külekci, Bojian Xu

摘要:

在字符串中寻找重复在计算生物学等子领域有重要的应用。令人惊讶的是,所有先前的工作重复发现没有考虑重复的局部约束。在本文中,我们提出和研究的问题,找到最长的重复子串覆盖特定的字符串位置。我们提出了一个$O(n)$时间和空间的算法,寻找最长的重复覆盖的每一个位置的字符串的大小$n$。我们的工作是最佳的,因为读取和存储的输入字符串的大小$n$需要$O(n)$的时间和空间。因为重复的任何子串也是重复,我们的解决方案,最长的重复查询有效地提供了一个“刺”的工具,为从业者找到大多数的重复,覆盖特定的字符串位置。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑