guess the next step: Interpolation 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 7
Question 1 of 4
Step 1 of 7
Step 2 of 7
Step 3 of 7
Step 4 of 7
Step 5 of 7
Question 1 of 4
Question 1 of 4
Right.
You guessed: 50 should stand near place 4.
What the run did:
50 lies between 1 and 99, the smallest and biggest left, so in proportion it should stand near place 4. Place 4 holds 92.
Question 1 of 4
Not this time.
You guessed: 50 should stand near place 5.
What the run did:
50 lies between 1 and 99, the smallest and biggest left, so in proportion it should stand near place 4. Place 4 holds 92.
Question 1 of 4
Not this time.
You guessed: 50 should stand near place 6.
What the run did:
50 lies between 1 and 99, the smallest and biggest left, so in proportion it should stand near place 4. Place 4 holds 92.
Question 2 of 4
Question 2 of 4
Not this time.
You guessed: 92 is the number wanted, so it is found.
What the run did:
92 is bigger than 50, so 50 can only be to its left. Rule out places 4 to 8.
Question 2 of 4
Not this time.
You guessed: 92 is too small, so rule it out.
What the run did:
92 is bigger than 50, so 50 can only be to its left. Rule out places 4 to 8.
Question 2 of 4
Not this time.
You guessed: 92 is too small, so rule it out, and the places to its left.
What the run did:
92 is bigger than 50, so 50 can only be to its left. Rule out places 4 to 8.
Question 2 of 4
Right.
You guessed: 92 is too big, so rule it out, and the places to its right.
What the run did:
92 is bigger than 50, so 50 can only be to its left. Rule out places 4 to 8.
Question 3 of 4
Question 3 of 4
Not this time.
You guessed: 50 should stand near place 1.
What the run did:
50 lies between 1 and 91, the smallest and biggest left, so in proportion it should stand near place 2. Place 2 holds 90.
Question 3 of 4
Right.
You guessed: 50 should stand near place 2.
What the run did:
50 lies between 1 and 91, the smallest and biggest left, so in proportion it should stand near place 2. Place 2 holds 90.
Question 3 of 4
Not this time.
You guessed: 50 should stand near place 3.
What the run did:
50 lies between 1 and 91, the smallest and biggest left, so in proportion it should stand near place 2. Place 2 holds 90.
Question 4 of 4
Question 4 of 4
Not this time.
You guessed: 90 is the number wanted, so it is found.
What the run did:
90 is bigger than 50, so 50 can only be to its left. Rule out places 2 to 3.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Not this time.
You guessed: 90 is too small, so rule it out.
What the run did:
90 is bigger than 50, so 50 can only be to its left. Rule out places 2 to 3.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Not this time.
You guessed: 90 is too small, so rule it out, and the places to its left.
What the run did:
90 is bigger than 50, so 50 can only be to its left. Rule out places 2 to 3.
That is every question on this run: 0 of 4 right.
Question 4 of 4
Right.
You guessed: 90 is too big, so rule it out, and the places to its right.
What the run did:
90 is bigger than 50, so 50 can only be to its left. Rule out places 2 to 3.
That is every question on this run: 1 of 4 right.