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