English

An Algorithm for the Longest Common Subsequence and Substring Problem

Data Structures and Algorithms 2023-08-03 v1

Abstract

In this note, we first introduce a new problem called the longest common subsequence and substring problem. Let XX and YY be two strings over an alphabet Σ\Sigma. The longest common subsequence and substring problem for XX and YY is to find the longest string which is a subsequence of XX and a substring of YY. We propose an algorithm to solve the problem.

Keywords

Cite

@article{arxiv.2308.00925,
  title  = {An Algorithm for the Longest Common Subsequence and Substring Problem},
  author = {R. Li and J. Deka and K. Deka},
  journal= {arXiv preprint arXiv:2308.00925},
  year   = {2023}
}