Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
426843 | Information and Computation | 2010 | 6 Pages |
Abstract
We consider the complexity of computing a longest increasing subsequence (LIS) parameterised by the length of the output. Namely, we show that the maximal length k of an increasing subsequence of a permutation of the set of integers {1,2,…,n} can be computed in time O(nloglogk) in the RAM model, improving the previous 30-year bound of O(nlogk). The algorithm also improves on the previous O(nloglogn) bound. The optimality of the new bound is an open question.Reducing the computation of a longest common subsequence (LCS) between two strings to an LIS computation leads to a simple O(rloglogk)-time algorithm for two sequences having r pairs of matching symbols and an LCS of length k.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics