Lune

SODA2026Top-tier venue

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

Itai Boneh, Shay Golan, Matan Kraus

2026Year

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 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.

lune papers fulltext c9288862-6acb-45de-b810-641efdd5e6a2

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines
The Complexity of Dynamic LZ77 is ?Θ(n2/3) | Lune Research