Free access
Proceedings
Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms

Approximating LCS in Linear Time: Beating the Barrier

Abstract

Longest common subsequence (LCS) is one of the most fundamental problems in combinatorial optimization. Apart from theoretical importance, LCS has enormous applications in bioinformatics, revision control systems, and data comparison programs1. Although a simple dynamic program computes LCS in quadratic time, it has been recently proven that the problem admits a conditional lower bound and may not be solved in truly subquadratic time [2]. In addition to this, LCS is notoriously hard with respect to approximation algorithms. Apart from a trivial sampling technique that obtains a nx approximation solution in time O(n2–2x) nothing else is known for LCS. This is in sharp contrast to its dual problem edit distance for which several linear time solutions are obtained in the past two decades [4, 5, 9, 10, 16].
In this work, we present the first nontrivial algorithm for approximating LCS in linear time. Our main result is a linear time algorithm for the longest common subsequence which has an approximation factor of O(n0.497956). This beats the barrier for approximating LCS in linear time.

Formats available

You can view the full content in the following formats:

Information & Authors

Information

Published In

cover image Proceedings
Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms
Pages: 1181 - 1200
Editor: Timothy M. Chan, University of Illinois at Urbana-Champaign, USA
ISBN (Online): 978-1-61197-548-2

History

Published online: 2 January 2019

Authors

Affiliations

MohammadTaghi Hajiaghayi

Notes

*
A portion of this work was completed while some of the authors were visiting Simons Institute for Theory of Computing.
Supported in part by NSF CAREER award CCF-1053605, NSF AF: Medium grant CCF-1161365, NSF BIGDATA grant IIS-1546108, NSF SPX grant CCF-1822738, and two small UMD AI in Business and Society Seed Grant and UMD Year of Data Science Program Grant

Metrics & Citations

Metrics

Citations

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

Cited By

Figures

Tables

Media

Share

Share

Copy the content Link

Share with email

Email a colleague

Share on social media