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 13 of 18

eatsseat012341123321234321234
a is not s, so take one edit more than the cheapest of above, 4, for a delete, to the left, 2, for an insert, and up and to the left, 3, for a replace: 3.

Question 13 of 16

What happens next?

Your guess