The first row is not zero
transcript
A table compares two words. Someone fills the first row with zeros. The answers come out too small.
Turn b into bb. The first row should be zero, one, two. With zeros, the first b matches the first b. The cell copies zero. The second b matches too. It copies the diagonal, a zero. The answer says zero edits. But one insert is needed. The zero in the first row made the insert free.
The word b needs one insert to become bb. A row of zeros says none. So the table gives the wrong answer.
Zeros make inserts free. And they make deletes free. So many answers are too low.
The first row counts inserts. Zero, one, two, three. The first column counts deletes. Each new row starts with its number.
Try two words of one letter. Count the edits by hand. Compare with the table.
The edges of the table are edits too. Never fill them with zero. Full breakdown in the lecture.