Skip to content · ⁨Passer au contenu⁩
English

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.
Français

Nœuds joints par des pointeurs

  • Une liste chaînée est une chaîne de petits structs appelés nœuds, éparpillés dans le tas.
  • Chaque nœud contient une valeur et un pointeur vers le nœud suivant. Suivez les pointeurs pour parcourir la liste.
  • Contrairement à un tableau, une liste peut grandir d'un nœud à la fois sans déplacer les autres.

Handout · ⁨Fiche de cours⁩

Log in or create account · ⁨Se connecter ou créer un compte⁩

IGCSE, A-Level & AP