Lune

STOC2021Top-tier venue

Fully dynamic approximation of LIS in polylogarithmic time

Pawel Gawrychowski, Wojciech Janczewski

2021Year
6Top-tier citations

Abstract

We revisit the problem of maintaining the longest increasing subsequence (LIS) of an array under (i) inserting an element, and (ii) deleting an element of an array. In a recent breakthrough, Mitzenmacher and Seddighin [STOC 2020] designed an algorithm that maintains an O((1/ε)O(1/ε))\mathcal{O}((1/ε)^{\mathcal{O}(1/ε)})-approximation of LIS under both operations with worst-case update time O~(nε)\mathcal{\tilde O}(n^ε), for any constant ε>0. We exponentially improve on their result by designing an algorithm that maintains an (1+ε)(1+ε)-approximation of LIS under both operations with worst-case update time O~(ε−5)\mathcal{\tilde O}(ε^{-5}). Instead of working with the grid packing technique introduced by Mitzenmacher and Seddighin, we take a different approach building on a new tool that might be of independent interest: LIS sparsification. A particularly interesting consequence of our result is an improved solution for the so-called Erdős-Szekeres partitioning, in which we seek a partition of a given permutation of {1,2,…,n}\{1,2,\ldots,n\} into O(n)\mathcal{O}(\sqrt{n}) monotone subsequences. This problem has been repeatedly stated as one of the natural examples in which we see a large gap between the decision-tree complexity and algorithmic complexity. The result of Mitzenmacher and Seddighin implies an O(n1+ε)\mathcal{O}(n^{1+ε}) time solution for this problem, for any ε>0. Our algorithm (in fact, its simpler decremental version) further improves this to O~(n)\mathcal{\tilde O}(n).

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

Cited by top-tier papers6

Ask how each one uses it

Builds on8

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines