guess the next step: Binary search tree
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 3 of 38
Question 1 of 23
Step 3 of 38
Step 4 of 38
Step 5 of 38
Step 6 of 38
Step 7 of 38
Step 8 of 38
Step 9 of 38
Step 10 of 38
Step 11 of 38
Question 1 of 23
Question 1 of 23
Right.
You guessed: 20 is smaller than 40, so go left.
What the run did:
20 is smaller than 40, so go left.
Question 1 of 23
Not this time.
You guessed: 20 is bigger than 40, so go right.
What the run did:
20 is smaller than 40, so go left.
Question 2 of 23
Question 2 of 23
Right.
You guessed: Hang 20 to the left of 40.
What the run did:
The way runs out, so hang 20 to the left of 40.
Question 2 of 23
Not this time.
You guessed: Hang 20 to the right of 40.
What the run did:
The way runs out, so hang 20 to the left of 40.
Question 3 of 23
Question 3 of 23
Not this time.
You guessed: 60 is smaller than 40, so go left.
What the run did:
60 is bigger than 40, so go right.
Question 3 of 23
Right.
You guessed: 60 is bigger than 40, so go right.
What the run did:
60 is bigger than 40, so go right.
Question 4 of 23
Question 4 of 23
Not this time.
You guessed: Hang 60 to the left of 40.
What the run did:
The way runs out, so hang 60 to the right of 40.
Question 4 of 23
Right.
You guessed: Hang 60 to the right of 40.
What the run did:
The way runs out, so hang 60 to the right of 40.
Question 5 of 23
Question 5 of 23
Right.
You guessed: 10 is smaller than 40, so go left.
What the run did:
10 is smaller than 40, so go left.
Question 5 of 23
Not this time.
You guessed: 10 is bigger than 40, so go right.
What the run did:
10 is smaller than 40, so go left.
Question 6 of 23
Question 6 of 23
Right.
You guessed: 10 is smaller than 20, so go left.
What the run did:
10 is smaller than 20, so go left.
Question 6 of 23
Not this time.
You guessed: 10 is bigger than 20, so go right.
What the run did:
10 is smaller than 20, so go left.