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

至少$k$长序同构子串中的最长公共子序列

Longest Common Subsequence in at Least $k$ Length Order-Isomorphic Substrings

Yohei Ueki, Diptarama, Masatoshi Kurihara, Yoshiaki Matsuoka, Kazuyuki Narisawa, Ryo Yoshinaka, Hideo Bannai, Shunsuke Inenaga, Ayumi Shinohara

摘要:

我们考虑最长公共子序列(LCS)问题的限制,公共子序列被要求至少由$k$长度的子串。首先,我们展示了一个$O(mn)$时间算法的问题,它提供了一个更好的最坏情况下的运行时间比现有的算法,其中$m$和$n$是输入字符串的长度。此外,我们主要考虑了LCS在至少$k$长序同构子串中的问题。我们表明,这个问题也可以解决在$O(mn)$最坏情况下的时间由一个易于实现的算法。

英文摘要:

We consider the longest common subsequence (LCS) problem with the restriction that the common subsequence is required to consist of at least $k$ length substrings. First, we show an $O(mn)$ time algorithm for the problem which gives a better worst-case running time than existing algorithms, where $m$ and $n$ are lengths of the input strings. Furthermore, we mainly consider the LCS in at least $k$ length order-isomorphic substrings problem. We show that the problem can also be solved in $O(mn)$ worst-case time by an easy-to-implement algorithm.

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

↑