linked list

linked list

by Mst.Kanij Fatima -
Number of replies: 0

In a singly linked list, each node has two components: data and a reference (or pointer) to the next node in the sequence. The last node in the list typically has a reference to null or some sentinel value to indicate the end of the list.