Bỏ qua nội dung

Danh sách liên kết

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.

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP