Lecture 36 - Introduction to Linked List (മലയാളത്തിൽ) - Data Structures

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • Linked List can be defined as collection of objects called nodes that are randomly stored in the memory. Singly linked list can be defined as the collection of ordered set of elements. The number of elements may vary according to need of the program. A node in the singly linked list consist of two parts: data part and link part. Data part of the node stores actual information that is to be represented by the node while the link part of the node stores the address of its immediate successor.
    • A node contains two fields i.e. data stored at that particular address and the pointer which contains the address of the next node in the memory.
    • The last node of the list contains pointer to the null.

КОМЕНТАРІ • 9