SlideShare a Scribd company logo
3
Most read
7
Most read
9
Most read
L i n k e d L i s t
Ms. Mary Jacob
Assistant Professor
Kristu JAyanti College(Autonomous), Bangalore
Linked List???
Advantages & Disadvantages
Types of Linked List
C O N T E N T S
Linked list is one of the fundamental data structures, and can be used to implement
other data structures.
In a linked list there are different numbers of nodes.
Each node consists of two fields.
ØThe first field holds the value or data
ØThe second field holds the reference to the next node or null if the linked list is
empty.
Node
Linked List ???
Data / Info link / next
Linked lists have the following advantages over arrays:
1.Efficient memory utilization
2.Operations such as insertion and deletion are easy and efficient.
3.Size can be changed.
4.Extensive manipulations
5.Arbitrary memory locations
Advantages of Linked List
1)Each node requires an extra pointer in addition to information, requiring more
space.
2)Insertion or deletion of a node takes a bit longer because it involves more pointer
operations.
3)Linked lists do not allow random access.
4)Traversing and changing of pointers consumes a lot of time.
5)Programming is typically trickier with pointers.
6)It is quite difficult to sort elements in a linked list.
Disadvantages of Linked List
Types of Linked List
Singly-linked list
The simplest kind of linked list is a singly-linked list (or slist for short), which has
one link per node. This link points to the next node in the list, or to a null value or
empty list if it is the last node.
Types of Linked List
Doubly-linked list
A more sophisticated kind of linked list is a doubly-linked list. Each node has two
links, one to the previous node and one to the next node.
Types of Linked List
Circularly-linked list
In a circularly-linked list, the first and last nodes are linked together. This can be
done for both singly and doubly linked lists. To traverse a circular linked list, you
begin at any node and follow the list in either direction until you return to the
original node.
Viewed another way, circularly-linked lists can be seen as having no beginning or
end.
Types of Linked List
Singly –circularly linked list
A singly linked circular list is a linked list where the last node in the list points to
the first node in the list. A circular list does not contain NULL pointers.
15 70 45
Doubly-circularly-linked list
In a doubly-circularly-linked list, each node has two links, similar to a doubly-linked
list, except that the previous link of the first node points to the last node and the next
link of the last node points to the first node.
T H A N K S

More Related Content

What's hot (20)

PPTX
Hashing in datastructure
rajshreemuthiah
 
PDF
sparse matrix in data structure
MAHALAKSHMI P
 
PDF
AD3251-Data Structures Design-Notes-Tree.pdf
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
PDF
UNIT I LINEAR DATA STRUCTURES – LIST
Kathirvel Ayyaswamy
 
PDF
Binary search tree operations
Kamran Zafar
 
PPTX
Linked List
Ashim Lamichhane
 
PPTX
Tree traversal techniques
Syed Zaid Irshad
 
PPT
3.9 external sorting
Krish_ver2
 
PPTX
Queues
Ashim Lamichhane
 
PPT
Data structures using c
Prof. Dr. K. Adisesha
 
PDF
Trees, Binary Search Tree, AVL Tree in Data Structures
Gurukul Kangri Vishwavidyalaya - Faculty of Engineering and Technology
 
PPTX
single linked list
Sathasivam Rangasamy
 
PDF
UNIT II LINEAR DATA STRUCTURES – STACKS, QUEUES
Kathirvel Ayyaswamy
 
PPTX
sorting and its types
SIVASHANKARIRAJAN
 
PPTX
B and B+ tree
Ashish Arun
 
PDF
Java Linked List Tutorial | Edureka
Edureka!
 
PPTX
Linked list
KalaivaniKS1
 
PPTX
Sparse matrix and its representation data structure
Vardhil Patel
 
PPTX
Linked list
akshat360
 
PPT
B trees and_b__trees
meghu123
 
Hashing in datastructure
rajshreemuthiah
 
sparse matrix in data structure
MAHALAKSHMI P
 
AD3251-Data Structures Design-Notes-Tree.pdf
Ramco Institute of Technology, Rajapalayam, Tamilnadu, India
 
UNIT I LINEAR DATA STRUCTURES – LIST
Kathirvel Ayyaswamy
 
Binary search tree operations
Kamran Zafar
 
Linked List
Ashim Lamichhane
 
Tree traversal techniques
Syed Zaid Irshad
 
3.9 external sorting
Krish_ver2
 
Data structures using c
Prof. Dr. K. Adisesha
 
Trees, Binary Search Tree, AVL Tree in Data Structures
Gurukul Kangri Vishwavidyalaya - Faculty of Engineering and Technology
 
single linked list
Sathasivam Rangasamy
 
UNIT II LINEAR DATA STRUCTURES – STACKS, QUEUES
Kathirvel Ayyaswamy
 
sorting and its types
SIVASHANKARIRAJAN
 
B and B+ tree
Ashish Arun
 
Java Linked List Tutorial | Edureka
Edureka!
 
Linked list
KalaivaniKS1
 
Sparse matrix and its representation data structure
Vardhil Patel
 
Linked list
akshat360
 
B trees and_b__trees
meghu123
 

Similar to Linked List-Types.pdf (20)

PPTX
LinkedList in data structure in engineering.pptx
prasadrudra279
 
PPTX
Data Structures and Algorithms - Lec 05.pptx
RameshaFernando2
 
DOCX
Introduction to linked lists
pooja kumari
 
PPTX
presentation on link list and types.pptx
hamzamunawarkhan
 
PPTX
Linked List
RaaviKapoor
 
ODP
Linked List
Keshav Vaswani
 
PPTX
DSA-Linked-List-.. learning process.pptx
ArgeeOnaler
 
PPTX
LINKED LIST.pptx
Dr.Shweta
 
PPTX
link list.pptx complete notes detailed ans
IqraHanif27
 
PPTX
Linked list in Data Structure and Algorithm
KristinaBorooah
 
PPT
CH02- Data Structures and Algorithms.ppt
dubaay100
 
PPTX
Link list
Didar Rashad
 
PPTX
Link list
Didar Rashad
 
PPTX
Linked List.pptx
GhufranKhan42
 
PPTX
Linear Data Structures - List, Stack and Queue
Selvaraj Seerangan
 
PPT
Lecture 2b lists
Victor Palmar
 
PPTX
linked list in Data Structure, Simple and Easy Tutorial
Afzal Badshah
 
PPTX
Linked_List_Presentation_1.pptxjsjkskxjjdjekdlkdjmdkdk
rb0045700
 
PPTX
Link_List.pptx
sandeep54552
 
PDF
Linked list (introduction) 1
DrSudeshna
 
LinkedList in data structure in engineering.pptx
prasadrudra279
 
Data Structures and Algorithms - Lec 05.pptx
RameshaFernando2
 
Introduction to linked lists
pooja kumari
 
presentation on link list and types.pptx
hamzamunawarkhan
 
Linked List
RaaviKapoor
 
Linked List
Keshav Vaswani
 
DSA-Linked-List-.. learning process.pptx
ArgeeOnaler
 
LINKED LIST.pptx
Dr.Shweta
 
link list.pptx complete notes detailed ans
IqraHanif27
 
Linked list in Data Structure and Algorithm
KristinaBorooah
 
CH02- Data Structures and Algorithms.ppt
dubaay100
 
Link list
Didar Rashad
 
Link list
Didar Rashad
 
Linked List.pptx
GhufranKhan42
 
Linear Data Structures - List, Stack and Queue
Selvaraj Seerangan
 
Lecture 2b lists
Victor Palmar
 
linked list in Data Structure, Simple and Easy Tutorial
Afzal Badshah
 
Linked_List_Presentation_1.pptxjsjkskxjjdjekdlkdjmdkdk
rb0045700
 
Link_List.pptx
sandeep54552
 
Linked list (introduction) 1
DrSudeshna
 
Ad

More from MaryJacob24 (20)

PDF
Evaluation of Postfix Expression-Concept and Example
MaryJacob24
 
PDF
Huffman Encoding Algorithm - Concepts and Example
MaryJacob24
 
PDF
Introduction to Essentials of Virtualization
MaryJacob24
 
PDF
Structure in C Programming- Basic Concepts
MaryJacob24
 
PDF
Union in C Programming Language-Basic Concepts
MaryJacob24
 
PDF
Unit 1-Introduction to Data Structures-BCA.pdf
MaryJacob24
 
PDF
Unit 2-Data Modeling.pdf
MaryJacob24
 
PDF
C Operators and Control Structures.pdf
MaryJacob24
 
PDF
Unit 4- Dynamic Programming.pdf
MaryJacob24
 
PPTX
Unit 3- Greedy Method.pptx
MaryJacob24
 
PDF
tree traversals.pdf
MaryJacob24
 
PDF
Unit 5- Cloud Applications.pdf
MaryJacob24
 
PDF
Simplification of Circuits.pdf
MaryJacob24
 
PDF
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
MaryJacob24
 
PDF
Algorithm-Introduction ,Characterestics & Control Structures.pdf
MaryJacob24
 
PDF
Data Structures & Recursion-Introduction.pdf
MaryJacob24
 
PDF
quick sort.pdf
MaryJacob24
 
PDF
Unit 3 - Greedy Method
MaryJacob24
 
PDF
Unit 3 greedy method
MaryJacob24
 
PDF
Graph Traversals
MaryJacob24
 
Evaluation of Postfix Expression-Concept and Example
MaryJacob24
 
Huffman Encoding Algorithm - Concepts and Example
MaryJacob24
 
Introduction to Essentials of Virtualization
MaryJacob24
 
Structure in C Programming- Basic Concepts
MaryJacob24
 
Union in C Programming Language-Basic Concepts
MaryJacob24
 
Unit 1-Introduction to Data Structures-BCA.pdf
MaryJacob24
 
Unit 2-Data Modeling.pdf
MaryJacob24
 
C Operators and Control Structures.pdf
MaryJacob24
 
Unit 4- Dynamic Programming.pdf
MaryJacob24
 
Unit 3- Greedy Method.pptx
MaryJacob24
 
tree traversals.pdf
MaryJacob24
 
Unit 5- Cloud Applications.pdf
MaryJacob24
 
Simplification of Circuits.pdf
MaryJacob24
 
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
MaryJacob24
 
Algorithm-Introduction ,Characterestics & Control Structures.pdf
MaryJacob24
 
Data Structures & Recursion-Introduction.pdf
MaryJacob24
 
quick sort.pdf
MaryJacob24
 
Unit 3 - Greedy Method
MaryJacob24
 
Unit 3 greedy method
MaryJacob24
 
Graph Traversals
MaryJacob24
 
Ad

Recently uploaded (20)

PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
community health nursing question paper 2.pdf
Prince kumar
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 

Linked List-Types.pdf

  • 1. L i n k e d L i s t Ms. Mary Jacob Assistant Professor Kristu JAyanti College(Autonomous), Bangalore
  • 2. Linked List??? Advantages & Disadvantages Types of Linked List C O N T E N T S
  • 3. Linked list is one of the fundamental data structures, and can be used to implement other data structures. In a linked list there are different numbers of nodes. Each node consists of two fields. ØThe first field holds the value or data ØThe second field holds the reference to the next node or null if the linked list is empty. Node Linked List ??? Data / Info link / next
  • 4. Linked lists have the following advantages over arrays: 1.Efficient memory utilization 2.Operations such as insertion and deletion are easy and efficient. 3.Size can be changed. 4.Extensive manipulations 5.Arbitrary memory locations Advantages of Linked List
  • 5. 1)Each node requires an extra pointer in addition to information, requiring more space. 2)Insertion or deletion of a node takes a bit longer because it involves more pointer operations. 3)Linked lists do not allow random access. 4)Traversing and changing of pointers consumes a lot of time. 5)Programming is typically trickier with pointers. 6)It is quite difficult to sort elements in a linked list. Disadvantages of Linked List
  • 6. Types of Linked List Singly-linked list The simplest kind of linked list is a singly-linked list (or slist for short), which has one link per node. This link points to the next node in the list, or to a null value or empty list if it is the last node.
  • 7. Types of Linked List Doubly-linked list A more sophisticated kind of linked list is a doubly-linked list. Each node has two links, one to the previous node and one to the next node.
  • 8. Types of Linked List Circularly-linked list In a circularly-linked list, the first and last nodes are linked together. This can be done for both singly and doubly linked lists. To traverse a circular linked list, you begin at any node and follow the list in either direction until you return to the original node. Viewed another way, circularly-linked lists can be seen as having no beginning or end.
  • 9. Types of Linked List Singly –circularly linked list A singly linked circular list is a linked list where the last node in the list points to the first node in the list. A circular list does not contain NULL pointers. 15 70 45 Doubly-circularly-linked list In a doubly-circularly-linked list, each node has two links, similar to a doubly-linked list, except that the previous link of the first node points to the last node and the next link of the last node points to the first node.
  • 10. T H A N K S