AnO(ND) difference algorithm and its variations
A linear space algorithm for computing maximal common subsequences