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 25 of 44
Question 25 of 42
Step 25 of 44
Step 26 of 44
Step 27 of 44
Step 28 of 44
Step 29 of 44
Step 30 of 44
Step 31 of 44
Question 25 of 42
Question 25 of 42
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 25 of 42
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 25 of 42
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 26 of 42
Question 26 of 42
Right.
You guessed: This cell holds 2.
What the run did:
t is not i, 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.
Question 26 of 42
Not this time.
You guessed: This cell holds 3.
What the run did:
t is not i, 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.
Question 26 of 42
Not this time.
You guessed: This cell holds 4.
What the run did:
t is not i, 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.
Question 27 of 42
Question 27 of 42
Not this time.
You guessed: This cell holds 1.
What the run did:
t is not n, 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 27 of 42
Not this time.
You guessed: This cell holds 2.
What the run did:
t is not n, 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 27 of 42
Right.
You guessed: This cell holds 3.
What the run did:
t is not n, 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 28 of 42
Question 28 of 42
Not this time.
You guessed: This cell holds 2.
What the run did:
t is not g, so take one edit more than the cheapest of above, 5, for a delete, to the left, 3, for an insert, and up and to the left, 4, for a replace: 4.
Question 28 of 42
Not this time.
You guessed: This cell holds 3.
What the run did:
t is not g, so take one edit more than the cheapest of above, 5, for a delete, to the left, 3, for an insert, and up and to the left, 4, for a replace: 4.
Question 28 of 42
Right.
You guessed: This cell holds 4.
What the run did:
t is not g, so take one edit more than the cheapest of above, 5, for a delete, to the left, 3, for an insert, and up and to the left, 4, for a replace: 4.
Question 29 of 42
Question 29 of 42
Not this time.
You guessed: This cell holds 4.
What the run did:
e is not s, so take one edit more than the cheapest of above, 4, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 5.
Question 29 of 42
Right.
You guessed: This cell holds 5.
What the run did:
e is not s, so take one edit more than the cheapest of above, 4, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 5.
Question 29 of 42
Not this time.
You guessed: This cell holds 6.
What the run did:
e is not s, so take one edit more than the cheapest of above, 4, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 5.
Question 30 of 42
Question 30 of 42
Not this time.
You guessed: This cell holds 2.
What the run did:
e is not i, so take one edit more than the cheapest of above, 3, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 4.
Question 30 of 42
Not this time.
You guessed: This cell holds 3.
What the run did:
e is not i, so take one edit more than the cheapest of above, 3, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 4.
Question 30 of 42
Right.
You guessed: This cell holds 4.
What the run did:
e is not i, so take one edit more than the cheapest of above, 3, for a delete, to the left, 5, for an insert, and up and to the left, 4, for a replace: 4.