We should have a algorithm finding the longest common subsequence in strings with arbitrary alphabets.