Skip to content · ⁨コンテンツへスキップ⁩
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.
日本語

ポインタで接続されたノード

  • リンクドリストとは、ヒープ上に散在するノードと呼ばれる小さな構造体の連鎖です。
  • 各ノードは値と次のノードへのポインタを持ちます。ポインタをたどることでリストを移動できます。
  • 配列と異なり、リストは他の要素を動かすことなく一度に1つのノードを追加できます。

Handout · ⁨プリント⁩

Log in or create account · ⁨ログインまたはアカウント作成⁩

IGCSE, A-Level & AP