Skip to content

guess the next step: Edit distance

Before each step plays, guess what it does. The page then shows the step as the run takes it and says why, the same sentence the watch page says there.

Step 1 of 11

dogcat0123123
Turn cat into dog. An empty start takes one edit a letter, so the first row counts inserts and the first column counts deletes.

Question 1 of 9

What happens next?

Your guess