Skip to content

Breaking the Square-Root Space Barrier for Longest Increasing Subsequence

Naohito Matsumoto, Masashi Kiyomi

cs.DS

Abstract

For every fixed constant ε>0\varepsilon>0, we give deterministic algorithms for computing the length of a longest increasing subsequence (LIS) and for outputting an LIS in input order, both in O(n2+ε)O(n^{2+\varepsilon}) time and O(n/2δlog⁡n)=o(n)O(\sqrt n/2^{δ\sqrt{\log n}})={\rm o}(\sqrt n) bits of working space for some constant δ>0δ>0. The input is read-only and the output is write-only. This answers an open question of Kiyomi et al. Our construction combines small-pile skipping with recursive blockwise computation of pile tops. Balanced reconstruction uses streaming intersections of forward and backward piles.

Create a lesson

Metadata

Categories
cs.DS, cs.CC
Comments
12 pages, 3 figures