Longest common subsequence diff