paper

On the Complexity of Finding Approximate LCS of Multiple Strings

arXiv:2505.15992

Abstract

Finding an Approximate Longest Common Substring (ALCS) within a given set of strings is a key problem in computational biology, such as identifying related mutations across multiple genetic sequences. We study several variants of ALCS problems that, given integers and , seek the longest string -- or the longest substring of any string in -- that lies within distance of at least one substring in distinct strings from . While the general problems are NP-hard, we present efficient algorithms for restricted cases under Hamming and edit distances using the and -errata tree data structures. Our methods achieve run times of , , and , where is the length of the longest string and is the sum of the lengths of all the strings in . We also establish conditional lower bounds under the Strong Exponential Time Hypothesis and extend our study to indeterminate strings.

15 pages

On the Complexity of Finding Approximate LCS of Multiple Strings · wovepaper