LINKED LIST
August 31, 2015
—————Shivam Gupta 20148084
SHIVAM GUPTA LINKED LIST
OUTLINE
1 INTRODUCTION
2 NODE
3 OPERATION ON LINKED LIST
4 DOUBLY LINKED LIST
5 CIRCULAR LINKED LIST
6 CIRCULAR DOUBLY LINKED LIST
7 ADVANTAGE
8 SUMMARY
SHIVAM GUPTA LINKED LIST
INTRODUCTION
A linked list is a series of connected nodes (or links) where
each node is a data structure.
Dynamically allocated data structures can be linked together
to form a chain.
SHIVAM GUPTA LINKED LIST
NODE
Each node has two parts :-
The First one is the info part that contain the actual data of
the list.
The Second one is the link part that points to the next node
of the list.
SHIVAM GUPTA LINKED LIST
OPERATION
Operation on linked list
The various actions performed on linked list are:-
1 Adding at beginning
2 Insert a node in between the linked list
3 Adding at end
4 Removing a Node
5 Traverse a linked list
SHIVAM GUPTA LINKED LIST
ADDING AT THE BEGINNING
SHIVAM GUPTA LINKED LIST
INSERTING IN BETWEEN
SHIVAM GUPTA LINKED LIST
ADDING AT THE END
SHIVAM GUPTA LINKED LIST
ADDING AT THE END
SHIVAM GUPTA LINKED LIST
REMOVING A NODE
SHIVAM GUPTA LINKED LIST
TRAVERSING LIST
SHIVAM GUPTA LINKED LIST
REVERSAL OF A LIST
SHIVAM GUPTA LINKED LIST
DOUBLY LINKED LIST
Every node stores a reference to previous node as well as its
next.This is good if you need to move back by a few nodes and
don’t want to start from the front again and again.
SHIVAM GUPTA LINKED LIST
CIRCULAR LINKED LIST
Every node stores a single reference but the last node inspite of
pointing to NULL points back to the front thus forming a closed
chain like structure.
SHIVAM GUPTA LINKED LIST
CIRCULAR DOUBLY LINKED LIST
Circular Doubly Linked List contain:- Each node store a reference
to the previous as well as the next one with pointing the last node
to the first node without any null value.
SHIVAM GUPTA LINKED LIST
ADVANTAGE
The Linked List advantages are collected because of the array
disadvantages, array disadvantages are:
1 Array Size
2 Memory allocation
3 Insertion and Deletion
ARRAY LINKED LIST
Size is to be specified. Not to declare size.
Static Memory Allocation Dynamic Memory Allocation
SHIVAM GUPTA LINKED LIST
SUMMARY
It is easy to insert a node at the front of a list.
The linked list toolkit also provides a function for inserting a
new node elsewhere
It is easy to remove a node at the front of a list.
The linked list toolkit also provides a function for removing a
node elsewhere–you should read about this
function and the other functions of the toolkit.
SHIVAM GUPTA LINKED LIST
SUMMARY
SHIVAM GUPTA LINKED LIST

More Related Content

PPTX
Linked lists
PDF
The Linked Data Advantage
PPTX
Linked list in Data Structure and Algorithm
PPTX
link list.pptx complete notes detailed ans
PPTX
Double link list
DOCX
Linked List
PPTX
Double Linked List (Algorithm)
Linked lists
The Linked Data Advantage
Linked list in Data Structure and Algorithm
link list.pptx complete notes detailed ans
Double link list
Linked List
Double Linked List (Algorithm)

Similar to Linked List (20)

PPTX
Data Structures and Algorithms - Lec 05.pptx
PPTX
Linked lists linked lists vs Arrays.pptx
PPTX
linked list in Data Structure, Simple and Easy Tutorial
PPTX
Linked Lists in Data Structures ppt .pptx
PPTX
Link list
PPTX
Link list
PDF
ds-lecture-4-171012041008 (1).pdf
ODP
Linked List
PPTX
linked list in data structure
PPTX
Link_List.pptx
PPTX
Linked list
PPTX
Linked list, Singly link list and its operations
PPTX
Dynamic data structures
PPTX
Linked list
PPT
CH02- Data Structures and Algorithms.ppt
PPTX
Linked list (1).pptx
PPTX
Linked list
PPTX
DSA-Linked-List-.. learning process.pptx
PPTX
Data-Structures-and-Algorithms-on-Linked-Lists (1).pptx
Data Structures and Algorithms - Lec 05.pptx
Linked lists linked lists vs Arrays.pptx
linked list in Data Structure, Simple and Easy Tutorial
Linked Lists in Data Structures ppt .pptx
Link list
Link list
ds-lecture-4-171012041008 (1).pdf
Linked List
linked list in data structure
Link_List.pptx
Linked list
Linked list, Singly link list and its operations
Dynamic data structures
Linked list
CH02- Data Structures and Algorithms.ppt
Linked list (1).pptx
Linked list
DSA-Linked-List-.. learning process.pptx
Data-Structures-and-Algorithms-on-Linked-Lists (1).pptx
Ad

More from Shivam Singh (7)

PDF
Stacks
PDF
PPTX
What If Microsoft sold diapers!? MS Diapers!
PDF
Search Algprithms
PDF
Binary Search Tree
PDF
Graph Theory
PDF
Sorting Algorithms
Stacks
What If Microsoft sold diapers!? MS Diapers!
Search Algprithms
Binary Search Tree
Graph Theory
Sorting Algorithms
Ad

Recently uploaded (20)

PDF
Soil Improvement Techniques Note - Rabbi
PDF
Design Guidelines and solutions for Plastics parts
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PPTX
Feature types and data preprocessing steps
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PDF
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
Current and future trends in Computer Vision.pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PDF
Visual Aids for Exploratory Data Analysis.pdf
Soil Improvement Techniques Note - Rabbi
Design Guidelines and solutions for Plastics parts
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
UNIT no 1 INTRODUCTION TO DBMS NOTES.pdf
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
Information Storage and Retrieval Techniques Unit III
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Feature types and data preprocessing steps
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
BIO-INSPIRED ARCHITECTURE FOR PARSIMONIOUS CONVERSATIONAL INTELLIGENCE : THE ...
Categorization of Factors Affecting Classification Algorithms Selection
Current and future trends in Computer Vision.pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Exploratory_Data_Analysis_Fundamentals.pdf
ChapteR012372321DFGDSFGDFGDFSGDFGDFGDFGSDFGDFGFD
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Visual Aids for Exploratory Data Analysis.pdf

Linked List

  • 1. LINKED LIST August 31, 2015 —————Shivam Gupta 20148084 SHIVAM GUPTA LINKED LIST
  • 2. OUTLINE 1 INTRODUCTION 2 NODE 3 OPERATION ON LINKED LIST 4 DOUBLY LINKED LIST 5 CIRCULAR LINKED LIST 6 CIRCULAR DOUBLY LINKED LIST 7 ADVANTAGE 8 SUMMARY SHIVAM GUPTA LINKED LIST
  • 3. INTRODUCTION A linked list is a series of connected nodes (or links) where each node is a data structure. Dynamically allocated data structures can be linked together to form a chain. SHIVAM GUPTA LINKED LIST
  • 4. NODE Each node has two parts :- The First one is the info part that contain the actual data of the list. The Second one is the link part that points to the next node of the list. SHIVAM GUPTA LINKED LIST
  • 5. OPERATION Operation on linked list The various actions performed on linked list are:- 1 Adding at beginning 2 Insert a node in between the linked list 3 Adding at end 4 Removing a Node 5 Traverse a linked list SHIVAM GUPTA LINKED LIST
  • 6. ADDING AT THE BEGINNING SHIVAM GUPTA LINKED LIST
  • 7. INSERTING IN BETWEEN SHIVAM GUPTA LINKED LIST
  • 8. ADDING AT THE END SHIVAM GUPTA LINKED LIST
  • 9. ADDING AT THE END SHIVAM GUPTA LINKED LIST
  • 10. REMOVING A NODE SHIVAM GUPTA LINKED LIST
  • 12. REVERSAL OF A LIST SHIVAM GUPTA LINKED LIST
  • 13. DOUBLY LINKED LIST Every node stores a reference to previous node as well as its next.This is good if you need to move back by a few nodes and don’t want to start from the front again and again. SHIVAM GUPTA LINKED LIST
  • 14. CIRCULAR LINKED LIST Every node stores a single reference but the last node inspite of pointing to NULL points back to the front thus forming a closed chain like structure. SHIVAM GUPTA LINKED LIST
  • 15. CIRCULAR DOUBLY LINKED LIST Circular Doubly Linked List contain:- Each node store a reference to the previous as well as the next one with pointing the last node to the first node without any null value. SHIVAM GUPTA LINKED LIST
  • 16. ADVANTAGE The Linked List advantages are collected because of the array disadvantages, array disadvantages are: 1 Array Size 2 Memory allocation 3 Insertion and Deletion ARRAY LINKED LIST Size is to be specified. Not to declare size. Static Memory Allocation Dynamic Memory Allocation SHIVAM GUPTA LINKED LIST
  • 17. SUMMARY It is easy to insert a node at the front of a list. The linked list toolkit also provides a function for inserting a new node elsewhere It is easy to remove a node at the front of a list. The linked list toolkit also provides a function for removing a node elsewhere–you should read about this function and the other functions of the toolkit. SHIVAM GUPTA LINKED LIST