Fully Dynamic Approximation of LIS in Polylogarithmic Time
arXiv:2011.09761
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 -approximation of LIS under both operations with worst-case update time , for any constant . We exponentially improve on their result by designing an algorithm that maintains an -approximation of LIS under both operations with worst-case update time . 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 into 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 time solution for this problem, for any . Our algorithm (in fact, its simpler decremental version) further improves this to .