English

Approximation Algorithms for LCS and LIS with Truly Improved Running Times

Data Structures and Algorithms 2021-11-23 v1

Abstract

Longest common subsequence (LCS\mathsf{LCS}) is a classic and central problem in combinatorial optimization. While LCS\mathsf{LCS} admits a quadratic time solution, recent evidence suggests that solving the problem may be impossible in truly subquadratic time. A special case of LCS\mathsf{LCS} wherein each character appears at most once in every string is equivalent to the longest increasing subsequence problem (LIS\mathsf{LIS}) which can be solved in quasilinear time. In this work, we present novel algorithms for approximating LCS\mathsf{LCS} in truly subquadratic time and LIS\mathsf{LIS} in truly sublinear time. Our approximation factors depend on the ratio of the optimal solution size over the input size. We denote this ratio by λ\lambda and obtain the following results for LCS\mathsf{LCS} and LIS\mathsf{LIS} without any prior knowledge of λ\lambda. \bullet A truly subquadratic time algorithm for LCS\mathsf{LCS} with approximation factor Ω(λ3)\Omega(\lambda^3). \bulletA truly sublinear time algorithm for LIS\mathsf{LIS} with approximation factor Ω(λ3)\Omega(\lambda^3). Triangle inequality was recently used by [Boroujeni, Ehsani, Ghodsi, HajiAghayi and Seddighin SODA 2018] and [Charkraborty, Das, Goldenberg, Koucky and Saks FOCS 2018] to present new approximation algorithms for edit distance. Our techniques for LCS\mathsf{LCS} extend the notion of triangle inequality to non-metric settings.

Keywords

Cite

@article{arxiv.2111.10538,
  title  = {Approximation Algorithms for LCS and LIS with Truly Improved Running Times},
  author = {Aviad Rubinstein and Saeed Seddighin and Zhao Song and Xiaorui Sun},
  journal= {arXiv preprint arXiv:2111.10538},
  year   = {2021}
}

Comments

FOCS 2019

R2 v1 2026-06-24T07:45:41.403Z