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