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 28
Question 1 of 16
Step 3 of 28
Step 4 of 28
Step 5 of 28
Step 6 of 28
Step 7 of 28
Step 8 of 28
Step 9 of 28
Step 10 of 28
Step 11 of 28
Question 1 of 16
Question 1 of 16
Right.
You guessed: 23 is smaller than 42, so go left.
What the run did:
23 is smaller than 42, so go left.
Question 1 of 16
Not this time.
You guessed: 23 is bigger than 42, so go right.
What the run did:
23 is smaller than 42, so go left.
Question 2 of 16
Question 2 of 16
Right.
You guessed: Hang 23 to the left of 42.
What the run did:
The way runs out, so hang 23 to the left of 42.
Question 2 of 16
Not this time.
You guessed: Hang 23 to the right of 42.
What the run did:
The way runs out, so hang 23 to the left of 42.
Question 3 of 16
Question 3 of 16
Not this time.
You guessed: 61 is smaller than 42, so go left.
What the run did:
61 is bigger than 42, so go right.
Question 3 of 16
Right.
You guessed: 61 is bigger than 42, so go right.
What the run did:
61 is bigger than 42, so go right.
Question 4 of 16
Question 4 of 16
Not this time.
You guessed: Hang 61 to the left of 42.
What the run did:
The way runs out, so hang 61 to the right of 42.
Question 4 of 16
Right.
You guessed: Hang 61 to the right of 42.
What the run did:
The way runs out, so hang 61 to the right of 42.
Question 5 of 16
Question 5 of 16
Right.
You guessed: 15 is smaller than 42, so go left.
What the run did:
15 is smaller than 42, so go left.
Question 5 of 16
Not this time.
You guessed: 15 is bigger than 42, so go right.
What the run did:
15 is smaller than 42, so go left.
Question 6 of 16
Question 6 of 16
Right.
You guessed: 15 is smaller than 23, so go left.
What the run did:
15 is smaller than 23, so go left.
Question 6 of 16
Not this time.
You guessed: 15 is bigger than 23, so go right.
What the run did:
15 is smaller than 23, so go left.