An Algorithm for the Longest Common Subsequence and Substring Problem
arXiv:2308.00925
Abstract
In this note, we first introduce a new problem called the longest common subsequence and substring problem. Let and be two strings over an alphabet . The longest common subsequence and substring problem for and is to find the longest string which is a subsequence of and a substring of . We propose an algorithm to solve the problem.