Space-Efficient Algorithms for Longest Increasing Subsequence
Abstract
Given a sequence of integers, we want to find a longest increasing subsequence of the sequence. It is known that this problem can be solved in O(n n) time and space. Our goal in this paper is to reduce the space consumption while keeping the time complexity small. For n s n, we present algorithms that use O(s n) bits and O(1s · n2 · n) time for computing the length of a longest increasing subsequence, and O(1s · n2 · 2 n) time for finding an actual subsequence. We also show that the time complexity of our algorithms is optimal up to polylogarithmic factors in the framework of sequential access algorithms with the prescribed amount of space.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.