2023/08/02 by Li, R., Deka, J., Deka, K.
#Data Structures and Algorithms (cs.DS) #FOS: Computer and information sciences
paper · doi:10.48550/arxiv.2308.00925
In this note, we first introduce a new problem called the longest common subsequence and substring problem. Let X and Y be two strings over an alphabet Σ. The longest common subsequence and substring problem for X and Y is to find the longest string which is a subsequence of X and a substring of Y. We propose an algorithm to solve the problem.