LINKED LIST Dr. T. Kokilavani Assistant Professor

LINKED LIST Dr. T. Kokilavani Assistant Professor
1 / 1
LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 1 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 2 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 3 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 4 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 5 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 6 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 7 of 8 LINKED LIST Dr. T. Kokilavani Assistant Professor - slide 8 of 8
LINKED LIST Dr. T. Kokilavani Assistant Professor Department of Computer Science St. Josephs College Trichy - 620002 Data Structures and Algorithms, Dr.T.Kokilavani, SJC 1 Linked List In arrays, block of memory that is required for the

Related Topics

Download this presentation From Below

"LINKED LIST Dr. T. Kokilavani Assistant Professor" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
LINKED LIST Dr. T. Kokilavani
Assistant Professor
Department of Computer Science
St. Joseph’s College
Trichy - 620002 Data Structures and Algorithms, Dr.T.Kokilavani, SJC 1<br>
02
Linked List In arrays, block of memory that is required for the array should be allocated before use.
Once memory is located it cannot be extended any more. So array is called static data structure.
Linked list is called dynamic data structure, because amount of memory required can be varied during its use.
In linked list, adjacency between the elements are maintained by means of links or pointers.
A link or pointer is the address (memory location) of the subsequent element.
An element in a linked list is called node.
A node consists of two fields: DATA (to store the actual information) and LINK (to point to the next node). Data Structures and Algorithms, Dr.T.Kokilavani, SJC 2<br>
03
Definition A linked list is an ordered collection of finite, homogenous data elements called nodes where the linear order is maintained by means of links or pointers.

Linked list can be classified into three major groups:
single linked list
circular linked list
double linked list Data Structures and Algorithms, Dr.T.Kokilavani, SJC 3<br>