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
Question 13 of 16
Step 13 of 18
Step 14 of 18
Step 15 of 18
Step 16 of 18
Step 17 of 18
Question 13 of 16
Question 13 of 16
Not this time.
You guessed: This cell holds 2.
What the run did:
t is not e, so take one edit more than the cheapest of above, 2, for a delete, to the left, 4, for an insert, and up and to the left, 3, for a replace: 3.
Question 13 of 16
Right.
You guessed: This cell holds 3.
What the run did:
t is not e, so take one edit more than the cheapest of above, 2, for a delete, to the left, 4, for an insert, and up and to the left, 3, for a replace: 3.
Question 13 of 16
Not this time.
You guessed: This cell holds 4.
What the run did:
t is not e, so take one edit more than the cheapest of above, 2, for a delete, to the left, 4, for an insert, and up and to the left, 3, for a replace: 3.
Question 14 of 16
Question 14 of 16
Not this time.
You guessed: This cell holds 1.
What the run did:
t is not a, so take one edit more than the cheapest of above, 1, for a delete, to the left, 3, for an insert, and up and to the left, 2, for a replace: 2.
Question 14 of 16
Right.
You guessed: This cell holds 2.
What the run did:
t is not a, so take one edit more than the cheapest of above, 1, for a delete, to the left, 3, for an insert, and up and to the left, 2, for a replace: 2.
Question 14 of 16
Not this time.
You guessed: This cell holds 3.
What the run did:
t is not a, so take one edit more than the cheapest of above, 1, for a delete, to the left, 3, for an insert, and up and to the left, 2, for a replace: 2.
Question 15 of 16
Question 15 of 16
Right.
You guessed: This cell holds 1.
What the run did:
Both letters are t, so this cell needs no edit of its own. Copy 1 from the cell up and to the left.
Question 15 of 16
Not this time.
You guessed: This cell holds 2.
What the run did:
Both letters are t, so this cell needs no edit of its own. Copy 1 from the cell up and to the left.
Question 15 of 16
Not this time.
You guessed: This cell holds 3.
What the run did:
Both letters are t, so this cell needs no edit of its own. Copy 1 from the cell up and to the left.
Question 16 of 16
Question 16 of 16
Not this time.
You guessed: This cell holds 1.
What the run did:
t is not s, so take one edit more than the cheapest of above, 3, for a delete, to the left, 1, for an insert, and up and to the left, 2, for a replace: 2.
That is every question on this run: 0 of 16 right.
Question 16 of 16
Right.
You guessed: This cell holds 2.
What the run did:
t is not s, so take one edit more than the cheapest of above, 3, for a delete, to the left, 1, for an insert, and up and to the left, 2, for a replace: 2.
That is every question on this run: 1 of 16 right.
Question 16 of 16
Not this time.
You guessed: This cell holds 3.
What the run did:
t is not s, so take one edit more than the cheapest of above, 3, for a delete, to the left, 1, for an insert, and up and to the left, 2, for a replace: 2.
That is every question on this run: 0 of 16 right.