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 11 of 38
Question 7 of 23
Step 11 of 38
Step 12 of 38
Step 13 of 38
Step 14 of 38
Step 15 of 38
Step 16 of 38
Step 17 of 38
Step 18 of 38
Step 19 of 38
Question 7 of 23
Question 7 of 23
Right.
You guessed: Hang 10 to the left of 20.
What the run did:
The way runs out, so hang 10 to the left of 20.
Question 7 of 23
Not this time.
You guessed: Hang 10 to the right of 20.
What the run did:
The way runs out, so hang 10 to the left of 20.
Question 8 of 23
Question 8 of 23
Right.
You guessed: 30 is smaller than 40, so go left.
What the run did:
30 is smaller than 40, so go left.
Question 8 of 23
Not this time.
You guessed: 30 is bigger than 40, so go right.
What the run did:
30 is smaller than 40, so go left.
Question 9 of 23
Question 9 of 23
Not this time.
You guessed: 30 is smaller than 20, so go left.
What the run did:
30 is bigger than 20, so go right.
Question 9 of 23
Right.
You guessed: 30 is bigger than 20, so go right.
What the run did:
30 is bigger than 20, so go right.
Question 10 of 23
Question 10 of 23
Not this time.
You guessed: Hang 30 to the left of 20.
What the run did:
The way runs out, so hang 30 to the right of 20.
Question 10 of 23
Right.
You guessed: Hang 30 to the right of 20.
What the run did:
The way runs out, so hang 30 to the right of 20.
Question 11 of 23
Question 11 of 23
Not this time.
You guessed: 50 is smaller than 40, so go left.
What the run did:
50 is bigger than 40, so go right.
Question 11 of 23
Right.
You guessed: 50 is bigger than 40, so go right.
What the run did:
50 is bigger than 40, so go right.
Question 12 of 23
Question 12 of 23
Right.
You guessed: 50 is smaller than 60, so go left.
What the run did:
50 is smaller than 60, so go left.
Question 12 of 23
Not this time.
You guessed: 50 is bigger than 60, so go right.
What the run did:
50 is smaller than 60, so go left.