English

An Algorithm for the Longest Common Subsequence and Substring Problem for Multiple Strings

Data Structures and Algorithms 2024-11-26 v2

Abstract

Let X1,X2,...,XsX_1, X_2, ..., X_s and Y1,Y2,...,YtY_1, Y_2, ..., Y_t be strings over an alphabet Σ\Sigma, where ss and tt are positive integers. The longest common subsequence and substring problem for multiple strings X1,X2,...,XsX_1, X_2, ..., X_s and Y1,Y2,...,YtY_1, Y_2, ..., Y_t is to find the longest string which is a subsequence of X1,X2,...,XsX_1, X_2, ..., X_s and a substring of Y1,Y2,...,YtY_1, Y_2, ..., Y_t. In this paper, we propose an algorithm to solve the problem.

Keywords

Cite

@article{arxiv.2411.09472,
  title  = {An Algorithm for the Longest Common Subsequence and Substring Problem for Multiple Strings},
  author = {Rao Li},
  journal= {arXiv preprint arXiv:2411.09472},
  year   = {2024}
}