On the Complexity of Finding Approximate LCS of Multiple Strings
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.
Cite
@article{arxiv.2505.15992,
title = {On the Complexity of Finding Approximate LCS of Multiple Strings},
author = {Hamed Hasibi and Neerja Mhaskar and W. F. Smyth},
journal= {arXiv preprint arXiv:2505.15992},
year = {2025}
}
Comments
15 pages