דילוג לניווט ראשי דילוג לחיפוש דילוג לתוכן הראשי

Exploring the Gap Between LCS and LCStr

  • Shay Golan
  • , Matan Kraus
  • , Ely Porat
  • , B. Riva Shalom

פרסום מחקרי: פרק בספר / בדוח / בכנספרסום בספר כנסביקורת עמיתים

תקציר

The Longest Common Subsequence (LCS) problem and the Longest Common Substring (LCStr) problem are classical string problems with broad theoretical and practical significance. The former has a quadratic conditional lower bound [FOCS, 2015], while the latter admits a linear-time solution. In this paper, we study a natural variation of these problems, the Longest Common Subsequence-Substring (LCSS) problem. The LCSS problem seeks the longest string that is simultaneously a subsequence of one input string and a substring of the other. This variant bridges LCS and LCStr, raising intriguing algorithmic questions: Does the complexity of computing LCSS interpolate between the linear time of LCStr and the quadratic time of LCS? What about approximability? We also examine a natural extension of LCSS to multiple strings, parameterizing the balance between subsequence and substring requirements. Our results reveal several insights. First, under the SETH conjecture, the inherent complexity of LCSS is quadratic, similar to LCS. In contrast, we provide a linear-time approximation for LCSS. Finally, for the multi-string variant, unlike both problems, we design a quadratic-time algorithm, uncovering deeper structural properties of the problem. By studying the complexity of the LCSS problem, we aim to gain some understanding of what influences whether a variant of the LCS problem behaves more like the standard LCS or like LCStr. Our findings suggest that hybrid constraints can create computational “sweet spots,” where problems become more tractable than their pure counterparts. This opens a broader research direction in constraint-mediated algorithm design. Beyond LCSS itself, our work highlights unexpected connections between subsequence and substring constraints, advancing the theoretical understanding of string problems and laying the foundation for new algorithmic techniques and complexity-theoretic insights in the rich space between classical string comparison paradigms.

שפה מקוריתאנגלית
כותר פרסום המארח37th Annual Symposium on Combinatorial Pattern Matching, CPM 2026
עורכיםPhilip Bille, Nicola Prezza
מוציא לאורSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
מסת"ב (אלקטרוני)9783959774208
מזהי עצם דיגיטלי (DOIs)
סטטוס פרסוםפורסם - 8 יוני 2026
אירוע37th Annual Symposium on Combinatorial Pattern Matching, CPM 2026 - Copenhagen, דנמרק
משך הזמן: 15 יוני 202617 יוני 2026

סדרות פרסומים

שםLeibniz International Proceedings in Informatics, LIPIcs
כרך369
ISSN (מודפס)1868-8969

כנס

כנס37th Annual Symposium on Combinatorial Pattern Matching, CPM 2026
מדינה/אזורדנמרק
עירCopenhagen
תקופה15/06/2617/06/26

טביעת אצבע

להלן מוצגים תחומי המחקר של הפרסום 'Exploring the Gap Between LCS and LCStr'. יחד הם יוצרים טביעת אצבע ייחודית.

פורמט ציטוט ביבליוגרפי