guess the next step: Binary search
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 1 of 9
Question 1 of 6
Step 1 of 9
Step 2 of 9
Step 3 of 9
Step 4 of 9
Step 5 of 9
Step 6 of 9
Step 7 of 9
Question 1 of 6
Question 1 of 6
Right.
You guessed: The middle of the part left is place 4.
What the run did:
The part left runs from place 1 to place 8. Its middle number, at place 4, is 23.
Question 1 of 6
Not this time.
You guessed: The middle of the part left is place 5.
What the run did:
The part left runs from place 1 to place 8. Its middle number, at place 4, is 23.
Question 1 of 6
Not this time.
You guessed: The middle of the part left is place 6.
What the run did:
The part left runs from place 1 to place 8. Its middle number, at place 4, is 23.
Question 2 of 6
Question 2 of 6
Not this time.
You guessed: 23 is the number wanted, so it is found.
What the run did:
23 is smaller than 30, so 30 can only be to its right. Rule out places 1 to 4.
Question 2 of 6
Not this time.
You guessed: 23 is too small, so rule it out.
What the run did:
23 is smaller than 30, so 30 can only be to its right. Rule out places 1 to 4.
Question 2 of 6
Right.
You guessed: 23 is too small, so rule it out, and the places to its left.
What the run did:
23 is smaller than 30, so 30 can only be to its right. Rule out places 1 to 4.
Question 2 of 6
Not this time.
You guessed: 23 is too big, so rule it out.
What the run did:
23 is smaller than 30, so 30 can only be to its right. Rule out places 1 to 4.
Question 2 of 6
Not this time.
You guessed: 23 is too big, so rule it out, and the places to its right.
What the run did:
23 is smaller than 30, so 30 can only be to its right. Rule out places 1 to 4.
Question 3 of 6
Question 3 of 6
Not this time.
You guessed: The middle of the part left is place 5.
What the run did:
The part left runs from place 5 to place 8. Its middle number, at place 6, is 42.
Question 3 of 6
Right.
You guessed: The middle of the part left is place 6.
What the run did:
The part left runs from place 5 to place 8. Its middle number, at place 6, is 42.
Question 3 of 6
Not this time.
You guessed: The middle of the part left is place 7.
What the run did:
The part left runs from place 5 to place 8. Its middle number, at place 6, is 42.
Question 4 of 6
Question 4 of 6
Not this time.
You guessed: 42 is the number wanted, so it is found.
What the run did:
42 is bigger than 30, so 30 can only be to its left. Rule out places 6 to 8.
Question 4 of 6
Not this time.
You guessed: 42 is too small, so rule it out.
What the run did:
42 is bigger than 30, so 30 can only be to its left. Rule out places 6 to 8.
Question 4 of 6
Not this time.
You guessed: 42 is too small, so rule it out, and the places to its left.
What the run did:
42 is bigger than 30, so 30 can only be to its left. Rule out places 6 to 8.
Question 4 of 6
Not this time.
You guessed: 42 is too big, so rule it out.
What the run did:
42 is bigger than 30, so 30 can only be to its left. Rule out places 6 to 8.
Question 4 of 6
Right.
You guessed: 42 is too big, so rule it out, and the places to its right.
What the run did:
42 is bigger than 30, so 30 can only be to its left. Rule out places 6 to 8.
Question 5 of 6
Question 5 of 6
Right.
You guessed: The middle of the part left is place 5.
What the run did:
The part left runs from place 5 to place 5. Its middle number, at place 5, is 31.
Question 5 of 6
Not this time.
You guessed: The middle of the part left is place 6.
What the run did:
The part left runs from place 5 to place 5. Its middle number, at place 5, is 31.
Question 5 of 6
Not this time.
You guessed: The middle of the part left is place 7.
What the run did:
The part left runs from place 5 to place 5. Its middle number, at place 5, is 31.
Question 6 of 6
Question 6 of 6
Not this time.
You guessed: 31 is the number wanted, so it is found.
What the run did:
31 is bigger than 30, so 30 can only be to its left. Rule out 31.
That is every question on this run: 0 of 6 right.
Question 6 of 6
Not this time.
You guessed: 31 is too small, so rule it out.
What the run did:
31 is bigger than 30, so 30 can only be to its left. Rule out 31.
That is every question on this run: 0 of 6 right.
Question 6 of 6
Not this time.
You guessed: 31 is too small, so rule it out, and the places to its left.
What the run did:
31 is bigger than 30, so 30 can only be to its left. Rule out 31.
That is every question on this run: 0 of 6 right.
Question 6 of 6
Right.
You guessed: 31 is too big, so rule it out.
What the run did:
31 is bigger than 30, so 30 can only be to its left. Rule out 31.
That is every question on this run: 1 of 6 right.
Question 6 of 6
Not this time.
You guessed: 31 is too big, so rule it out, and the places to its right.
What the run did:
31 is bigger than 30, so 30 can only be to its left. Rule out 31.
That is every question on this run: 0 of 6 right.