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 7 of 44

sittingkitten01234567112345623456
k is not n, so take one edit more than the cheapest of above, 6, for a delete, to the left, 5, for an insert, and up and to the left, 5, for a replace: 6.

Question 7 of 42

What happens next?

Your guess