Lune

STOC2021Top-tier venue

Improved dynamic algorithms for longest increasing subsequence

Tomasz Kociumaka, Saeed Seddighin

Abstract

We study dynamic algorithms for the longest increasing subsequence (LIS) problem. A dynamic LIS algorithm maintains a sequence subject to operations of the following form arriving one by one: (i) insert an element, (ii) delete an element, or (iii) substitute an element for another. After performing each operation, the algorithm must report the length of the longest increasing subsequence of the current sequence.

Our main contribution is the first exact dynamic LIS algorithm with sublinear update time. More precisely, we present a randomized algorithm that performs each operation in time O(n 2/3 ) and after each update, reports the answer to the LIS problem correctly with high probability. We use several novel techniques and observations for this algorithm that may find their applications in future work.

In the second part of the paper, we study approximate dynamic LIS algorithms, which are allowed to underestimate the solution size within a bounded multiplicative factor. In this setting, we give a deterministic algorithm with update time O(n o(1) ) and approximation factor 1 -o(1). This result substantially improves upon the previous work of Mitzenmacher and Seddighin (STOC'20) that presents an Ω( O(1/ ) )-approximation algorithm with update time O(n ) for any constant > 0.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Approximating Edit Distance in the Fully Dynamic Model cites Fully dynamic approximation of LIS in polylogarithmic time
  • Approximating Edit Distance in the Fully Dynamic Model cites Dynamic algorithms for LIS and distance to monotonicity
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Approximating Edit Distance in the Fully Dynamic Model
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Fully dynamic approximation of LIS in polylogarithmic time
  • Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights cites Dynamic algorithms for LIS and distance to monotonicity
  • Fully dynamic approximation of LIS in polylogarithmic time cites Dynamic algorithms for LIS and distance to monotonicity
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Approximating Edit Distance in the Fully Dynamic Model
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer Weights
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Fully dynamic approximation of LIS in polylogarithmic time
  • Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit Distance cites Dynamic algorithms for LIS and distance to monotonicity
  • Estimating the Longest Increasing Subsequence in Nearly Optimal Time cites Fully dynamic approximation of LIS in polylogarithmic time
  • Estimating the Longest Increasing Subsequence in Nearly Optimal Time cites Dynamic algorithms for LIS and distance to monotonicity
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Estimating the Longest Increasing Subsequence in Nearly Optimal TimeAlexandr Andoni, Negev Shekel Nosatzki, Sandip Sinha, Clifford SteinFOCS 2022 · 4 citations
  2. Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 citation
  3. Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 citation
  4. Dynamic Dyck and Tree Edit Distance: Decompositions and Reductions to String Edit DistanceDebarati Das, Jacob Gilbert, MohammadTaghi Hajiaghayi, Tomasz Kociumaka et al.FOCS 2025 · 1 citation
  5. Fully dynamic approximation of LIS in polylogarithmic timePawel Gawrychowski, Wojciech JanczewskiSTOC 2021

Builds on2

  1. Dynamic algorithms for LIS and distance to monotonicityMichael Mitzenmacher, Saeed SeddighinSTOC 2020 · 11 citations
  2. Fully dynamic approximation of LIS in polylogarithmic timePawel Gawrychowski, Wojciech JanczewskiSTOC 2021

Related papers

  1. Improved Sublinear Time Algorithm for Longest Increasing SubsequenceMichael Mitzenmacher, Saeed SeddighinSODA 2021 · 10 citations
  2. New Trade-Offs for Fully Dynamic Matching via Hierarchical EDCSSoheil Behnezhad, Sanjeev KhannaSODA 2022 · 11 citations
  3. Dynamic (1+ϵ)-Approximate Matching Size in Truly Sublinear Update TimeSayan Bhattacharya, Peter Kiss, Thatchaphol SaranurakFOCS 2023 · 9 citations
  4. Dynamic Matching with Better-than-2 Approximation in Polylogarithmic Update TimeSayan Bhattacharya, Peter Kiss, Thatchaphol Saranurak, David WajcSODA 2023 · 11 citations
  5. On Dynamic Graph Algorithms with PredictionsJan van den Brand, Sebastian Forster, Yasamin Nazari, Adam PolakSODA 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines