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

最长公共递增子序列问题的一个快速次二次算法

A Faster Subquadratic Algorithm for the Longest Common Increasing Subsequence Problem

Anadi Agrawal, Paweł Gawrychowski

摘要:

最长公共递增子序列(LCIS)是经典最长公共子序列(LCS)的一个变体,其中我们额外要求公共子序列严格递增。虽然著名的“四个俄罗斯人”技术可以用来找到LCS在次二次时间,它似乎不适用于LCIS。最近,Duraj [STACS 2020]使用了一种基于LCIS组合特性的完全不同的方法来设计$\mathcal{O}(n^2(\log\log n)^2/\log^{1/6}n)$时间算法。我们表明,利用制表的基础上的方法可以用来构建一个渐近更快的$\mathcal{O}(n^2 \log\log n/\sqrt{\log n})$时间算法。由于我们的解决方案避免了使用LCIS的特定组合属性,因此它也可以适用于最长公共弱递增子序列(LCWIS)。

英文摘要:

The Longest Common Increasing Subsequence (LCIS) is a variant of the classical Longest Common Subsequence (LCS), in which we additionally require the common subsequence to be strictly increasing. While the well-known "Four Russians" technique can be used to find LCS in subquadratic time, it does not seem applicable to LCIS. Recently, Duraj [STACS 2020] used a completely different method based on the combinatorial properties of LCIS to design an $\mathcal{O}(n^2(\log\log n)^2/\log^{1/6}n)$ time algorithm. We show that an approach based on exploiting tabulation can be used to construct an asymptotically faster $\mathcal{O}(n^2 \log\log n/\sqrt{\log n})$ time algorithm. As our solution avoids using the specific combinatorial properties of LCIS, it can be also adapted for the Longest Common Weakly Increasing Subsequence (LCWIS).

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

↑