Professional Documents
Culture Documents
DS Lec-35 Advantages and Disadvantages of Linked List.15ff974
DS Lec-35 Advantages and Disadvantages of Linked List.15ff974
DS Lec-35 Advantages and Disadvantages of Linked List.15ff974
DS Lecture-35
Topic: Advantages and Disadvantages of Linked List.
Array Linklist
1) Elements of an array are 1) Elements of linked list are
stored in continuous memory stored in scattered memory
location locations.
2) There is no need for any 2) An additional field called a
additional link field. link is attached with every
element.
3) There is direct access to any 3) There is no direct access to
element of array. any element of linked list.
4) Insertion and deletion of any 4) Insertion and Deletion are
element is difficult because it easy because it involves
involves shifting many simply modifying in link field
elements. of concern nodes.
4) Size of array is fixed 4) Size of linked list is dynamic.
Course: Data Structure, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260
Course: Data Structure, Prepared By: Atul Kabra, 9422279260
Operations on linklist
We can perform following operations on Linked list.
1. Insertion
2. Deletion
3. Searching
4. Traversing
5. Sorting
6. Merging
7. Splitting
Types of linklist :
There are 3 types of linklist
1. Singly Linked List.
2. Circular Linked List.
3. Doubly Linked List
Course: Data Structure, Info Planet Programming Classes Prepared By: Atul Kabra, 9422279260