Lune

SODA2026Top-tier venue

The Complexity of Dynamic LZ77 is ?Θ(n2/3)

Itai Boneh, Shay Golan, Matan Kraus

Abstract

The Lempel-Ziv 77 (LZ77) factorization is a fundamental compression scheme widely used in text processing and data compression. In this work, we investigate the time complexity of maintaining the LZ77 factorization of a dynamic string. By establishing matching upper and lower bounds, we fully characterize the complexity of this problem.

We present an algorithm that efficiently maintains the LZ77 factorization of a string S undergoing edit operations, including character substitutions, insertions, and deletions. Our data structure can be constructed in Õ(n) time for an initial string of length n and supports updates in Õ(n 2/3 ) time, where n is the current length of S. Additionally, we prove that no algorithm can achieve an update time of O(n 2/3-ε ) unless the Strong Exponential Time Hypothesis fails. This lower bound holds even in the restricted setting where only substitutions are allowed and only the length of the LZ77 factorization is maintained.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv Factorization cites An Upper Bound and Linear-Space Queries on the LZ-End Parsing
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on10

  1. Dynamic Dynamic Time WarpingKarl Bringmann, Nick Fischer, Ivor van der Hoog, Evangelos Kipouridis et al.SODA 2024 · 21 citations
  2. An Upper Bound and Linear-Space Queries on the LZ-End ParsingDominik Kempa, Barna SahaSODA 2022 · 12 citations
  3. Faster Pattern Matching under Edit Distance : A Reduction to Dynamic Puzzle Matching and the Seaweed Monoid of Permutation MatricesPanagiotis Charalampopoulos, Tomasz Kociumaka, Philip WellnitzFOCS 2022 · 8 citations
  4. Near-Optimal Quantum Algorithms for Bounded Edit Distance and Lempel-Ziv FactorizationDaniel Gibney, Ce Jin, Tomasz Kociumaka, Sharma V. ThankachanSODA 2024 · 7 citations
  5. Improved dynamic algorithms for longest increasing subsequenceTomasz Kociumaka, Saeed SeddighinSTOC 2021 · 4 citations

Related papers

  1. Lempel-Ziv (LZ77) Factorization in Sublinear TimeDominik Kempa, Tomasz KociumakaFOCS 2024 · 2 citations
  2. Approximating Edit Distance in the Fully Dynamic ModelTomasz Kociumaka, Anish Mukherjee, Barna SahaFOCS 2023 · 1 citation
  3. Optimal Algorithms for Bounded Weighted Edit DistanceAlejandro Cassis, Tomasz Kociumaka, Philip WellnitzFOCS 2023 · 4 citations
  4. Bounded Edit Distance: Optimal Static and Dynamic Algorithms for Small Integer WeightsEgor Gorbachev, Tomasz KociumakaSTOC 2025 · 1 citation
  5. Dynamic suffix array with polylogarithmic queries and updatesDominik Kempa, Tomasz KociumakaSTOC 2022
Dusk over the sea between two cliffs drawn in fine vertical lines