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