Longest Common Subsequence

An algorithm for finding the longest subsequence common to two sequences.