Dynamic Approach – A table
•
Table(
x
,
y
): best alignment for first
x
letters
of string 1, and first
y
letters of string 2
•
Decide what to do with the end of string,
then look up best alignment of remainder in
Table.