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

计算最长公共增子序列的一个简单线性空间算法

A simple linear space algorithm for computing a longest common increasing subsequence

Daxin Zhu, Lei Wang, Tinran Wang, Xiaodong Wang

摘要:

本文以一种非常简洁的方式重新表述了求两个给定输入序列的最长公共增子序列的问题。基于新公式的一个非常简单的线性空间算法可以在时间$O(nm)$上使用额外的$\min\{n,m\}+1$空间分别找到大小为$n$和$m$的最长公共递增子序列。

英文摘要:

This paper reformulates the problem of finding a longest common increasing subsequence of the two given input sequences in a very succinct way. An extremely simple linear space algorithm based on the new formula can find a longest common increasing subsequence of sizes $n$ and $m$ respectively, in time $O(nm)$ using additional $\min\{n,m\}+1$ space.

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

↑