Longest Common Subsequence in k-length substrings
arXiv:1402.2097
Abstract
In this paper we define a new problem, motivated by computational biology, aiming at finding the maximal number of length , matching in both input strings while preserving their order of appearance. The traditional LCS definition is a special case of our problem, where . We provide an algorithm, solving the general case in time, where is the length of the input strings, equaling the time required for the special case of . The space requirement of the algorithm is . %, however, in order to enable %backtracking of the solution, space is needed. We also define a complementary distance measure and show that can be computed in time and space, where , are the lengths of the input sequences and respectively.