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 37 of 51
Question 37 of 49
Step 37 of 51
Step 38 of 51
Step 39 of 51
Step 40 of 51
Step 41 of 51
Step 42 of 51
Step 43 of 51
Question 37 of 49
Question 37 of 49
Not this time.
You guessed: This cell holds 2.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 4 from the cell up and to the left.
Question 37 of 49
Not this time.
You guessed: This cell holds 3.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 4 from the cell up and to the left.
Question 37 of 49
Right.
You guessed: This cell holds 4.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 4 from the cell up and to the left.
Question 38 of 49
Question 38 of 49
Not this time.
You guessed: This cell holds 1.
What the run did:
o is not t, 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 38 of 49
Not this time.
You guessed: This cell holds 2.
What the run did:
o is not t, 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 38 of 49
Right.
You guessed: This cell holds 3.
What the run did:
o is not t, 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 39 of 49
Question 39 of 49
Not this time.
You guessed: This cell holds 1.
What the run did:
o 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 39 of 49
Right.
You guessed: This cell holds 2.
What the run did:
o 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 39 of 49
Not this time.
You guessed: This cell holds 3.
What the run did:
o 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 40 of 49
Question 40 of 49
Right.
You guessed: This cell holds 1.
What the run did:
o is not t, so take one edit more than the cheapest of above, 0, for a delete, to the left, 2, for an insert, and up and to the left, 1, for a replace: 1.
Question 40 of 49
Not this time.
You guessed: This cell holds 2.
What the run did:
o is not t, so take one edit more than the cheapest of above, 0, for a delete, to the left, 2, for an insert, and up and to the left, 1, for a replace: 1.
Question 40 of 49
Not this time.
You guessed: This cell holds 3.
What the run did:
o is not t, so take one edit more than the cheapest of above, 0, for a delete, to the left, 2, for an insert, and up and to the left, 1, for a replace: 1.
Question 41 of 49
Question 41 of 49
Right.
You guessed: This cell holds 0.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 0 from the cell up and to the left.
Question 41 of 49
Not this time.
You guessed: This cell holds 1.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 0 from the cell up and to the left.
Question 41 of 49
Not this time.
You guessed: This cell holds 2.
What the run did:
Both letters are o, so this cell needs no edit of its own. Copy 0 from the cell up and to the left.
Question 42 of 49
Question 42 of 49
Right.
You guessed: This cell holds 1.
What the run did:
o is not r, so take one edit more than the cheapest of above, 2, for a delete, to the left, 0, for an insert, and up and to the left, 1, for a replace: 1.
Question 42 of 49
Not this time.
You guessed: This cell holds 2.
What the run did:
o is not r, so take one edit more than the cheapest of above, 2, for a delete, to the left, 0, for an insert, and up and to the left, 1, for a replace: 1.
Question 42 of 49
Not this time.
You guessed: This cell holds 3.
What the run did:
o is not r, so take one edit more than the cheapest of above, 2, for a delete, to the left, 0, for an insert, and up and to the left, 1, for a replace: 1.