Skip to content

Linked lists

Handout

Nodes joined by pointers

  • A linked list is a chain of small structs called nodes, scattered around the heap.
  • Each node holds a value and a pointer to the next node. Follow the pointers to walk the list.
  • Unlike an array, a list can grow one node at a time without moving the others.

Handout

Log in or create account

IGCSE & A-Level