Skip to content · ⁨الانتقال إلى المحتوى⁩

Linked lists · ⁨القوائم المرتبطة (Linked lists)⁩

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.
العربية

العقد المتصلة بالمؤشرات

  • القائمة المرتبطة هي سلسلة من الهياكل الصغيرة تسمى العقد، مبعثرة في الرصيف (heap).
  • كل عقدة تحمل قيمة ومؤشراً إلى العقدة التالية. اتبع المؤشرات لتتجول في القائمة.
  • على عكس المصفوفة، يمكن للقائمة أن تنمو بعقدة واحدة في كل مرة دون تحريك البقية.

Handout · ⁨ورقة عمل⁩

Log in or create account · ⁨تسجيل الدخول أو إنشاء حساب⁩

IGCSE, A-Level & AP