guess the next step: Linked list
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 1 of 11
Question 1 of 9
Step 1 of 11
Step 2 of 11
Step 3 of 11
Step 4 of 11
Step 5 of 11
Step 6 of 11
Step 7 of 11
Question 1 of 9
Question 1 of 9
Right.
You guessed: Link it in at the start of the chain.
What the run did:
Link 25 in at the start of the chain.
Question 1 of 9
Not this time.
You guessed: Link it in partway along the chain.
What the run did:
Link 25 in at the start of the chain.
Question 2 of 9
Question 2 of 9
Not this time.
You guessed: The number here is not bigger, so walk on past it.
What the run did:
25 is bigger than 20, so 20 goes just before it.
Question 2 of 9
Right.
You guessed: The number here is bigger, so the new number goes just before it.
What the run did:
25 is bigger than 20, so 20 goes just before it.
Question 2 of 9
Not this time.
You guessed: The chain ends, so link the new number in at the end.
What the run did:
25 is bigger than 20, so 20 goes just before it.
Question 3 of 9
Question 3 of 9
Right.
You guessed: Link it in at the start of the chain.
What the run did:
Link 20 in at the start of the chain.
Question 3 of 9
Not this time.
You guessed: Link it in partway along the chain.
What the run did:
Link 20 in at the start of the chain.
Question 4 of 9
Question 4 of 9
Not this time.
You guessed: The number here is not bigger, so walk on past it.
What the run did:
20 is bigger than 15, so 15 goes just before it.
Question 4 of 9
Right.
You guessed: The number here is bigger, so the new number goes just before it.
What the run did:
20 is bigger than 15, so 15 goes just before it.
Question 4 of 9
Not this time.
You guessed: The chain ends, so link the new number in at the end.
What the run did:
20 is bigger than 15, so 15 goes just before it.
Question 5 of 9
Question 5 of 9
Right.
You guessed: Link it in at the start of the chain.
What the run did:
Link 15 in at the start of the chain.
Question 5 of 9
Not this time.
You guessed: Link it in partway along the chain.
What the run did:
Link 15 in at the start of the chain.
Question 6 of 9
Question 6 of 9
Not this time.
You guessed: The number here is not bigger, so walk on past it.
What the run did:
15 is bigger than 10, so 10 goes just before it.
Question 6 of 9
Right.
You guessed: The number here is bigger, so the new number goes just before it.
What the run did:
15 is bigger than 10, so 10 goes just before it.
Question 6 of 9
Not this time.
You guessed: The chain ends, so link the new number in at the end.
What the run did:
15 is bigger than 10, so 10 goes just before it.