Double Linked list is a fundamental data structure used in computer programming. It consists of a sequence of nodes connected by two pointers in both directions. Each node is having three parts the first part contains the address of previous node and second part contains data and third part contains address of next node. The first and third part is called address fields and the second part is data field.
Thursday, December 6, 2007
Double Linked List
Posted by Janaki Narayanamma P at 1:33 AM 1 comments
Labels: delete an element from linked list, insert an element in to linked list, operations of linked list
Single Linked List
Single Linked list is a linear data structure. It is used as a fundamental data structure in computer programming. It contains a collection of nodes which are connected by only one pointer in one direction. Each node is having two parts the first part contains the data and second part contains the address of the next node. The first part is called data field or information field and the second part is called as link field or next address field.
The graphical representation of linked list is
Hear the pointer start always points to the first node of a list and the end node is represented by special value called NULL.
Posted by Janaki Narayanamma P at 12:41 AM 0 comments
Labels: delete an element from linked list, insert an element in to linked list, operations of linked list
Subscribe to:
Posts (Atom)
