Skip to main content
archive
Search Submit Donate Log in
Press Enter to search · Advanced search

Computer Science > Data Structures and Algorithms

arXiv:2505.15992 (cs)
[Submitted on 21 May 2025 (v1), last revised 18 Sep 2025 (this version, v3)]

Title:On the Complexity of Finding Approximate LCS of Multiple Strings

Authors:Hamed Hasibi, Neerja Mhaskar, W. F. Smyth
View a PDF of the paper titled On the Complexity of Finding Approximate LCS of Multiple Strings, by Hamed Hasibi and 2 other authors
View PDF HTML (experimental)
Abstract:Finding an Approximate Longest Common Substring (ALCS) within a given set $S=\{s_1,s_2,\ldots,s_m\}$ of $m \ge 2$ 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 $k$ and $t \le m$, seek the longest string $u$ -- or the longest substring $u$ of any string in $S$ -- that lies within distance $k$ of at least one substring in $t$ distinct strings from $S$. While the general problems are NP-hard, we present efficient algorithms for restricted cases under Hamming and edit distances using the $LCP_k$ and $k$-errata tree data structures. Our methods achieve run times of $\mathcal{O}(N^2)$, $\mathcal{O}(k\ell N^2)$, and $\mathcal{O}(mN\log^k \ell)$, where $\ell$ is the length of the longest string and $N$ is the sum of the lengths of all the strings in $S$. We also establish conditional lower bounds under the Strong Exponential Time Hypothesis and extend our study to indeterminate strings.
Comments: 15 pages
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2505.15992 [cs.DS]
  (or arXiv:2505.15992v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.2505.15992
arXiv-issued DOI via DataCite

Submission history

From: Neerja Mhaskar [view email]
[v1] Wed, 21 May 2025 20:20:16 UTC (54 KB)
[v2] Fri, 6 Jun 2025 20:37:57 UTC (46 KB)
[v3] Thu, 18 Sep 2025 23:08:06 UTC (49 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled On the Complexity of Finding Approximate LCS of Multiple Strings, by Hamed Hasibi and 2 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
license icon view license

Current browse context:

cs.DS
< prev   |   next >
new | recent | 2025-05
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
We gratefully acknowledge support from our major funders, member institutions, , and all contributors.
About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Major funding support from
Simons Foundation Simons Foundation International Schmidt Sciences