Skip to main content

Linked List Quiz

Editorial

15 questions across the four Linked List lessons: the order of pointer writes, reversing, fast and slow pointers, and merging and splitting. Pick an answer to see whether it's right and why. Nothing is saved, so you can take it again.

If one trips you up, its lesson is Introduction to Linked Lists, Reversing a Linked List, Fast and Slow Pointers or Merging and Splitting Linked Lists.

Quiz

1 / 15

Multiple choice

Inserting 9 after 2 in 1 → 2 → 3, the code writes two.next = node first, then node.next = two.next. What does the list read?