English

Fully Dynamic Approximation of LIS in Polylogarithmic Time

Data Structures and Algorithms 2020-12-04 v2

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/\epsilon)^{\mathcal{O}(1/\epsilon)})-approximation of LIS under both operations with worst-case update time O~(nϵ)\mathcal{\tilde O}(n^{\epsilon}), for any constant ϵ>0\epsilon>0. We exponentially improve on their result by designing an algorithm that maintains an (1+ϵ)(1+\epsilon)-approximation of LIS under both operations with worst-case update time O~(ϵ5)\mathcal{\tilde O}(\epsilon^{-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\H{o}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+\epsilon}) time solution for this problem, for any ϵ>0\epsilon>0. Our algorithm (in fact, its simpler decremental version) further improves this to O~(n)\mathcal{\tilde O}(n).

Keywords

Cite

@article{arxiv.2011.09761,
  title  = {Fully Dynamic Approximation of LIS in Polylogarithmic Time},
  author = {Paweł Gawrychowski and Wojciech Janczewski},
  journal= {arXiv preprint arXiv:2011.09761},
  year   = {2020}
}
R2 v1 2026-06-23T20:22:02.204Z