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 7 of 11
Question 7 of 9
Step 7 of 11
Step 8 of 11
Step 9 of 11
Step 10 of 11
Question 7 of 9
Question 7 of 9
Right.
You guessed: Link it in at the start of the chain.
What the run did:
Link 10 in at the start of the chain.
Question 7 of 9
Not this time.
You guessed: Link it in partway along the chain.
What the run did:
Link 10 in at the start of the chain.
Question 8 of 9
Question 8 of 9
Not this time.
You guessed: The number here is not bigger, so walk on past it.
What the run did:
10 is bigger than 5, so 5 goes just before it.
Question 8 of 9
Right.
You guessed: The number here is bigger, so the new number goes just before it.
What the run did:
10 is bigger than 5, so 5 goes just before it.
Question 8 of 9
Not this time.
You guessed: The chain ends, so link the new number in at the end.
What the run did:
10 is bigger than 5, so 5 goes just before it.
Question 9 of 9
Question 9 of 9
Right.
You guessed: Link it in at the start of the chain.
What the run did:
Link 5 in at the start of the chain.
That is every question on this run: 1 of 9 right.
Question 9 of 9
Not this time.
You guessed: Link it in partway along the chain.
What the run did:
Link 5 in at the start of the chain.
That is every question on this run: 0 of 9 right.