paper

Length of the longest common subsequence between overlapping words

arXiv:1803.03238

Abstract

Given two random finite sequences from such that a prefix of the first sequence is a suffix of the second, we examine the length of their longest common subsequence. If is the length of the overlap, we prove that the expected length of an LCS is approximately , where is the length of an LCS between two independent random sequences. We also obtain tail bounds on this quantity.

arXiv comment10 pages, 5 figures