Dynamic Longest Common Substring in Polylogarithmic Time
Panagiotis Charalampopoulos, Pawe{\l} Gawrychowski, Karol Pokorski

TL;DR
This paper presents a new algorithm for the dynamic longest common substring problem that achieves polylogarithmic update time, significantly improving over previous solutions, and establishes lower bounds for related data structures.
Contribution
The authors develop an exponentially faster algorithm with amortized O(log^7 n) update time for dynamic LCS, and prove lower bounds for data structure update times.
Findings
New algorithm processes each edit in amortized O(log^7 n) time with high probability.
Established lower bounds of Ω(log n / log log n) for update time of dynamic LCS data structures.
Extended existing reductions to prove lower bounds even with randomization and amortization.
Abstract
The longest common substring problem consists in finding a longest string that appears as a (contiguous) substring of two input strings. We consider the dynamic variant of this problem, in which we are to maintain two dynamic strings and , each of length at most , that undergo edit operations, i.e., substitutions, insertions, and deletions of letters, in order to be able to return a longest common substring after each edit. Amir, Charalampopoulos, Pissis, and Radoszewski [Algorithmica 2020] presented a solution for this problem that requires time per update. This brought the challenge of determining whether there exists a solution with polylogarithmic update time or we should expect a polynomial (conditional) lower bound. We answer this question by designing an exponentially faster algorithm that processes each edit operation in amortized…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
