{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,23]],"date-time":"2026-10-23T11:55:53Z","timestamp":1792756553160,"version":"4.5.0"},"reference-count":48,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2025,8,31]]},"abstract":"<jats:p>Abstract.<\/jats:p>\n                  <jats:p>Longest common subsequence ( LCS ) is a classic and central problem in combinatorial optimization. While 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 wherein each character appears at most once in every string is equivalent to the longest increasing subsequence (LIS) problem which can be solved in quasilinear time. In this work, we present novel algorithms for approximating LCS in truly subquadratic time and LIS in truly sublinear time. Our approximation factors depend on the ratio of the optimal solution size to the input size. We denote this ratio by [Formula: see text] and obtain the following results for LCS and LIS without any prior knowledge of [Formula: see text]: a truly subquadratic time algorithm for LCS with approximation factor [Formula: see text] and a truly sublinear time algorithm for LIS with approximation factor [Formula: see text]. The triangle inequality was recently used by M. Boroujeni, S. Ehsani, M. Ghodsi, M. HajiAghayi, and S. Seddingham [ Proceedings of the 29 th Annual ACM-SIAM Symposium on Discrete Algorithms, 2018, pp. 1170\u20131189] and D. Chakraborty, D. Das, E. Goldenberg, M. Koucky, and M. Saks [ Proceedings of the 59 th Annual IEEE Symposium on Foundations of Computer Science, 2018, pp. 979\u2013990] to present new approximation algorithms for edit distance. Our techniques for LCS extend the notion of the triangle inequality to nonmetric settings.<\/jats:p>","DOI":"10.1137\/20m1316500","type":"journal-article","created":{"date-parts":[[2023,11,17]],"date-time":"2023-11-17T12:53:12Z","timestamp":1700225592000},"page":"FOCS19-276-FOCS19-331","source":"Crossref","is-referenced-by-count":4,"title":["Approximation Algorithms for LCS and LIS with Truly Improved Running Times"],"prefix":"10.1137","volume":"54","author":[{"given":"Aviad","family":"Rubinstein","sequence":"first","affiliation":[{"name":"Computer Science, Stanford University, Stanford, CA 94305 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Saeed","family":"Seddighin","sequence":"additional","affiliation":[{"name":"Toyota Technological Institute at Chicago, Chicago, IL 60637 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhao","family":"Song","sequence":"additional","affiliation":[{"name":"Institute for Advanced Study, Princeton, NJ 08540 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaorui","family":"Sun","sequence":"additional","affiliation":[{"name":"University of Illinois, Chicago, IL 60637 USA."}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2023,11,17]]},"reference":[{"key":"ref1","unstructured":"A. Abboud and A. Backurs, Towards hardness of approximation for polynomial time problems, in Proceedings of the Eighth Innovations in Theoretical Computer Science Conference, 2017."},{"key":"ref2","doi-asserted-by":"crossref","unstructured":"A. Abboud, A. Backurs, and V. V. Williams, Tight hardness results for LCS and other sequence similarity measures, in Proceedings of the Fifty-Sixth IEEE Annual Symposium on Foundations of Computer Science, 2015.","DOI":"10.1109\/FOCS.2015.14"},{"key":"ref3","doi-asserted-by":"crossref","unstructured":"A. Abboud, T. D. Hansen, V. V. Williams, and R. Williams, Simulating branching programs with edit distance and friends, in Proceedings of the Forty-Eighth Annual ACM SIGACT Symposium on Theory of Computing, 2016.","DOI":"10.1145\/2897518.2897653"},{"key":"ref4","unstructured":"A. Abboud and A. Rubinstein, Fast and deterministic constant factor approximation algorithms for LCS imply new circuit lower bounds, in Proceedings of the Ninth Innovations in Theoretical Computer Science Conference, 2018."},{"key":"ref5","doi-asserted-by":"publisher","DOI":"10.1002\/rsa.20167"},{"key":"ref6","doi-asserted-by":"crossref","unstructured":"S. Akmal and C. Jin, Near-optimal quantum algorithms for string problems, in Proceedings of the Thirty-Fourth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2022, pp. 2791\u20132832.","DOI":"10.1137\/1.9781611977073.109"},{"key":"ref7","doi-asserted-by":"crossref","unstructured":"A. Andoni, R. Krauthgamer, and K. Onak, Polylogarithmic approximation for edit distance and the asymmetric query complexity, in Proceedings of the Fifty-First IEEE Annual Symposium on Foundations of Computer Science, 2010.","DOI":"10.1007\/978-3-642-16367-8_16"},{"key":"ref8","doi-asserted-by":"crossref","unstructured":"A. Andoni and N. S. Nosatzki, Edit distance in near-linear time: It\u2019s a constant factor, in Proceedings of the Sixty-First Annual IEEE Symposium on Foundations of Computer Science, IEEE, 2020, pp. 990\u20131001.","DOI":"10.1109\/FOCS46700.2020.00096"},{"key":"ref9","doi-asserted-by":"crossref","unstructured":"A. Andoni and K. Onak, Approximating edit distance in near-linear time, in Proceedings of the Forty-First Annual ACM Symposium on Theory of Computing, 2009.","DOI":"10.1145\/1536414.1536444"},{"key":"ref10","doi-asserted-by":"crossref","unstructured":"A. Backurs and P. Indyk, Edit distance cannot be computed in strongly subquadratic time (unless SETH is false), in Proceedings of the Forty-Seventh Annual ACM Symposium on Theory of Computing, 2015.","DOI":"10.1145\/2746539.2746612"},{"key":"ref11","unstructured":"Z. Bar-Yossef, T. Jayram, R. Krauthgamer, and R. Kumar, Approximating edit distance efficiently, in Proceedings of the Forty-Fifth Annual IEEE Symposium on Foundations of Computer Science, 2004."},{"key":"ref12","doi-asserted-by":"crossref","unstructured":"T. Batu, F. Erg\u00fcn, J. Kilian, A. Magen, S. Raskhodnikova, R. Rubinfeld, and R. Sami, A sublinear algorithm for weakly approximating edit distance, in Proceedings of the Thirty-Fifth Annual ACM Symposium on Theory of Computing, 2003, pp. 316\u2013324.","DOI":"10.1145\/780542.780590"},{"key":"ref13","doi-asserted-by":"crossref","unstructured":"T. Batu, F. Ergun, and C. Sahinalp, Oblivious string embeddings and edit distance approximations, in Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithm, 2006.","DOI":"10.1145\/1109557.1109644"},{"key":"ref14","doi-asserted-by":"publisher","DOI":"10.1007\/s11856-012-0184-z"},{"key":"ref15","first-page":"1244","volume":"16","author":"Blakley G. R.","year":"1965","journal-title":"Proc. Amer. Math. Soc."},{"key":"ref16","doi-asserted-by":"crossref","unstructured":"M. Boroujeni, S. Ehsani, M. Ghodsi, M. HajiAghayi, and S. Seddighin, Approximating edit distance in truly subquadratic time: Quantum and MapReduce, in Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, 2018, pp. 1170\u20131189.","DOI":"10.1137\/1.9781611975031.76"},{"key":"ref17","unstructured":"J. Brakensiek, M. Charikar, and A. Rubinstein, A Simple Sublinear Algorithm for Gap Edit Distance, preprint, arXiv:2007.14368, 2020."},{"key":"ref18","doi-asserted-by":"crossref","unstructured":"J. Brakensiek and A. Rubinstein, Constant-factor approximation of near-linear edit distance in near-linear time, in Proceedings of the Fifty-Second Annual ACM SIGACT Symposium on Theory of Computing, 2020, pp. 685\u2013698.","DOI":"10.1145\/3357713.3384282"},{"key":"ref19","doi-asserted-by":"crossref","unstructured":"D. Chakraborty, D. Das, E. Goldenberg, M. Koucky, and M. Saks, Approximating edit distance within constant factor in truly sub-quadratic time, in Proceedings of the Fifty-Ninth Annual IEEE Symposium on Foundations of Computer Science, 2018, pp. 979\u2013990.","DOI":"10.1109\/FOCS.2018.00096"},{"key":"ref20","doi-asserted-by":"crossref","unstructured":"L. Chen, S. Goldwasser, K. Lyu, G. N. Rothblum, and A. Rubinstein, Fine-grained complexity meets IP=PSPACE, in Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, 2019.","DOI":"10.1137\/1.9781611975482.1"},{"key":"ref21","doi-asserted-by":"publisher","DOI":"10.1214\/aoms\/1177729330"},{"key":"ref22","volume-title":"Introduction to Algorithms","author":"Cormen T. H.","year":"2009"},{"key":"ref23","unstructured":"D. Das and B. Saha, Approximating LCS and Alignment Distance Over Multiple Sequences, preprint, arXiv:2110.12402, 2021."},{"key":"ref24","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-48413-4_10"},{"key":"ref25","doi-asserted-by":"publisher","DOI":"10.1006\/jcss.1999.1692"},{"key":"ref26","doi-asserted-by":"publisher","DOI":"10.1142\/9789812562494_0014"},{"key":"ref27","doi-asserted-by":"publisher","DOI":"10.1016\/0012-365X(75)90103-X"},{"key":"ref28","doi-asserted-by":"crossref","unstructured":"E. Goldenberg, T. Kociumaka, R. Krauthgamer, and B. Saha, Gap edit distance via non-adaptive queries: Simple and optimal, in Proceedings of the Sixty-Third Annual Symposium on Foundations of Computer Science, IEEE, 2022, pp. 674\u2013685.","DOI":"10.1109\/FOCS54457.2022.00070"},{"key":"ref29","doi-asserted-by":"crossref","unstructured":"E. Goldenberg, R. Krauthgamer, and B. Saha, Sublinear algorithms for gap edit distance, in Proceedings of the Sixtieth IEEE Annual Symposium on Foundations of Computer Science, IEEE, 2019, pp. 1101\u20131120.","DOI":"10.1109\/FOCS.2019.00070"},{"key":"ref30","doi-asserted-by":"crossref","unstructured":"B. Haeupler, A. Rubinstein, and A. Shahrasbi, Near-linear time insertion-deletion codes and \\((1+\\epsilon)\\)-approximating edit distance via indexing, in Proceedings of the Fifty-First Annual ACM SIGACT Symposium on Theory of Computing, 2019, pp. 697\u2013708.","DOI":"10.1145\/3313276.3316371"},{"key":"ref31","doi-asserted-by":"crossref","unstructured":"M. Hajiaghayi, M. Seddighin, S. Seddighin, and X. Sun, Approximating LCS in linear time: Beating the barrier, in Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, 2019.","DOI":"10.1137\/1.9781611975482.72"},{"key":"ref32","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1963.10500830"},{"key":"ref33","doi-asserted-by":"crossref","unstructured":"C. Jin and J. Nogler, Quantum speed-ups for string synchronizing sets, longest common substring, and k-mismatch matching, in Proceedings of the Thirty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2023, pp. 5090\u20135121.","DOI":"10.1137\/1.9781611977554.ch186"},{"key":"ref34","doi-asserted-by":"publisher","DOI":"10.1007\/s00493-013-2863-8"},{"key":"ref35","doi-asserted-by":"crossref","unstructured":"T. Kociumaka and B. Saha, Sublinear-time algorithms for computing & embedding gap edit distance, in Proceedings of the Sixty-First IEEE Annual Symposium on Foundations of Computer Science, IEEE, 2020, pp. 1168\u20131179.","DOI":"10.1109\/FOCS46700.2020.00112"},{"key":"ref36","doi-asserted-by":"crossref","unstructured":"T. Kociumaka and S. Seddighin, Improved dynamic algorithms for longest increasing subsequence, in Proceedings of the Fifty-Third Annual ACM SIGACT Symposium on Theory of Computing, 2021, pp. 640\u2013653.","DOI":"10.1145\/3406325.3451026"},{"key":"ref37","doi-asserted-by":"crossref","unstructured":"M. Kouck\u1ef3 and M. Saks, Constant factor approximations to edit distance on far input pairs in nearly linear time, in Proceedings of the Fifty-Second Annual ACM SIGACT Symposium on Theory of Computing, 2020, pp. 699\u2013712.","DOI":"10.1145\/3357713.3384307"},{"key":"ref38","doi-asserted-by":"publisher","DOI":"10.4064\/cm-3-1-50-57"},{"key":"ref39","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539794264810"},{"key":"ref40","doi-asserted-by":"publisher","DOI":"10.1007\/s00453-022-01066-z"},{"key":"ref41","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90002-1"},{"key":"ref42","doi-asserted-by":"crossref","unstructured":"M. Mitzenmacher and S. Seddighin, Dynamic algorithms for LIS and distance to monotonicity, in Proceedings of the Fifty-Second Annual ACM SIGACT Symposium on Theory of Computing, 2020, pp. 671\u2013684.","DOI":"10.1145\/3357713.3384240"},{"key":"ref43","doi-asserted-by":"crossref","unstructured":"M. Mitzenmacher and S. Seddighin, Improved sublinear time algorithm for longest increasing subsequence, in Proceedings of the Thirty-Third ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2021, pp. 1934\u20131947.","DOI":"10.1137\/1.9781611976465.115"},{"key":"ref44","doi-asserted-by":"publisher","DOI":"10.1137\/1.9781611975994.98"},{"key":"ref45","doi-asserted-by":"crossref","unstructured":"M. Saks and C. Seshadhri, Estimating the longest increasing sequence in polylogarithmic time, in Proceedings of the Fifty-First Annual IEEE Symposium on Foundations of Computer Science, 2010.","DOI":"10.1109\/FOCS.2010.51"},{"key":"ref46","doi-asserted-by":"publisher","DOI":"10.4153\/CJM-1961-015-3"},{"key":"ref47","first-page":"436","volume":"48","author":"Tur\u00e1n P.","year":"1941","journal-title":"Mat. Fiz. Lapok"},{"key":"ref48","volume-title":"Introduction to Graph Theory","volume":"2","author":"West D. B.","year":"2001"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/20M1316500","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:00:55Z","timestamp":1787338855000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/20M1316500"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,11,17]]},"references-count":48,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2025,8,31]]}},"alternative-id":["10.1137\/20M1316500"],"URL":"https:\/\/doi.org\/10.1137\/20m1316500","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,11,17]]}}}