Doubly-Linked List
Doubly Linked List
1.) In doubly linked list each node contains two
pointers.
2.) which points has a reference to both the next point
and pervious point of node in list.
3.) A doubly linked list is a two-way list because one
can move in either from left to right or from right to
left
Info
prev next
NODE
Node Data
 Info : the user’s data.
 Prev, Next : the address of next and
previous node in list
Operations on a Doubly linked list
1) Create list.
2) Insert element at beginning in list.
3) Insert element at end in list.
4) Insert element at any place in list.
5) Delete element from the beginning of list.
6) Delete element from the end of list.
7) Delete element from any place from list.
Create doubly linked list
NULL
7 X
Create One another node
9
X X
Insert an element at beginning
doubly linked list
Delete an element at any place
doubly linked list
Doubly Linked list
Advantages
1. We can traverse in
both directions i.e. from
starting to end and as
well as from end to
starting.
2. It is easy to reverse the
linked list.
3. If we are at a node,
then we can go to any
node. But in linear linked
list, it is not possible to
reach the previous node.
Disadvantages
1. It requires more space
per space per node
because one extra field is
required for pointer to
previous node.
2. Insertion and deletion
take more time than
linear linked list because
more pointer operations
are required than linear
linked list.
Thank You

More Related Content

PPTX
Double link list
PPTX
Double Linked List (Algorithm)
PPTX
DOUBLE LINKED LIST(DATA STRUCTURE) PPT BY PRASUN KUMAR
PPTX
PDF
doubly linked list.pdf
PPTX
Linked list, Singly link list and its operations
PPTX
Linked Lists and its application advantages over arrays
PPTX
Link list
Double link list
Double Linked List (Algorithm)
DOUBLE LINKED LIST(DATA STRUCTURE) PPT BY PRASUN KUMAR
doubly linked list.pdf
Linked list, Singly link list and its operations
Linked Lists and its application advantages over arrays
Link list

Similar to DOUBLY LINKEDLIST.PPTXdddddddddddddddddddddddd (20)

PPTX
Link list
PPTX
Dounly linked list
PPTX
Linked list
PPTX
Linked list
PDF
Linked list (introduction) 1
PPTX
Data Structures and Algorithms - Lec 05.pptx
PPTX
data structures and applications power p
PPTX
DLL DATA STRUCT.pptx
PPTX
Double linked list.pptx
PPTX
Doubly linked list (animated)
PPT
Linked List
PPTX
linked list in Data Structure, Simple and Easy Tutorial
PPT
Link list using array in Data structure amd algorithms
PPT
LinkedDoublyLists (1).ppt dll is node to node.
PPT
2- link-list.ppt
PPT
CH02- Data Structures and Algorithms.ppt
PPTX
CH4.pptx
PPTX
linked list_MODULE 3.pptx ppt on the linked list
Link list
Dounly linked list
Linked list
Linked list
Linked list (introduction) 1
Data Structures and Algorithms - Lec 05.pptx
data structures and applications power p
DLL DATA STRUCT.pptx
Double linked list.pptx
Doubly linked list (animated)
Linked List
linked list in Data Structure, Simple and Easy Tutorial
Link list using array in Data structure amd algorithms
LinkedDoublyLists (1).ppt dll is node to node.
2- link-list.ppt
CH02- Data Structures and Algorithms.ppt
CH4.pptx
linked list_MODULE 3.pptx ppt on the linked list
Ad

More from shesnasuneer (20)

PPTX
Kannur Mega Jobfair Deck.pptxkkiiiooooooo
PPT
Heap Sort (project).pptccccccccccccccccccccccccccccccccccc
PPT
Indexing.pptvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
PPTX
CPUSCHEDULING.gggggggggggggggggggggggggggggggggggggggggggggggggggpptx
PPT
bst-class-220902051152-cdddddddddddddddddd5e6c70f.ppt
PPT
OS-20210326114051njnjnjnnnnnnnnnnnnnnnnnnnn (1).ppt
PPTX
fathimasewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwmina.pptx
PPT
Chapter_7_Staeeeeeeeeeeeeeeeeeeeeeeeeck.ppt
PPTX
Plagiarism (ddddddddddddddddddddddddddddddddddddddddd1).pptx
PPTX
array-140928101958-pyyyyyyyyyyyhpapp02.pptx
PPTX
akshaynnnnnnnnnnnnnnnnnnnnnnmmmmmmmmm.pptx
PPTX
ssssssssssssssssssssssssssoutput (3).pptx
PPTX
tree.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxpptx
PPTX
apllicationsof queffffffffffffffffffffffffffffue.pptx
PPTX
Intellectual-Property-Rights-in-Research-Methodology (3)_copy.pptx
PPTX
interpretationxxxxxxxxxxxxxxxxxxxxxxxsss.pptx
PPTX
infixtopostfixconversion-110304220159-phpapp01.pptx
PPTX
CPUSCHEDULING.pptxfffffffffffffffffffffffffffffffff
PPTX
UNIT 2LINKEDLISdddddddddddddddddddddddddddT.pptx
PPTX
Sampling Designggggfgggfggggg (1) (1).pptx
Kannur Mega Jobfair Deck.pptxkkiiiooooooo
Heap Sort (project).pptccccccccccccccccccccccccccccccccccc
Indexing.pptvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
CPUSCHEDULING.gggggggggggggggggggggggggggggggggggggggggggggggggggpptx
bst-class-220902051152-cdddddddddddddddddd5e6c70f.ppt
OS-20210326114051njnjnjnnnnnnnnnnnnnnnnnnnn (1).ppt
fathimasewwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwmina.pptx
Chapter_7_Staeeeeeeeeeeeeeeeeeeeeeeeeck.ppt
Plagiarism (ddddddddddddddddddddddddddddddddddddddddd1).pptx
array-140928101958-pyyyyyyyyyyyhpapp02.pptx
akshaynnnnnnnnnnnnnnnnnnnnnnmmmmmmmmm.pptx
ssssssssssssssssssssssssssoutput (3).pptx
tree.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxpptx
apllicationsof queffffffffffffffffffffffffffffue.pptx
Intellectual-Property-Rights-in-Research-Methodology (3)_copy.pptx
interpretationxxxxxxxxxxxxxxxxxxxxxxxsss.pptx
infixtopostfixconversion-110304220159-phpapp01.pptx
CPUSCHEDULING.pptxfffffffffffffffffffffffffffffffff
UNIT 2LINKEDLISdddddddddddddddddddddddddddT.pptx
Sampling Designggggfgggfggggg (1) (1).pptx
Ad

Recently uploaded (20)

PPTX
634512141-Untitledgggjjkhhjjkjjjuytffghjjjhrrfgh fffrrttttt uuuujjikkkkkhfdgh...
PDF
Lupins: Their Unique Nutritional and Health-Promoting Attributes
PPTX
balanced-dietppt (1).pptx fodd dood dsasd
PPTX
February 02-2024Daily quality report..pptx
PPTX
Asian Template.hjkjhgvckhvckhasadvdvdavdav
PPTX
FST-401 lecture # 11 food chemistry.pptx
PPTX
Altered metabolism (Warburg effect, glutamine addiction, lipid metabolism)
PPTX
Overview to Meetings Incentive Conference
PPTX
ONLINE_BOOK_STORE[1].pptxyut87t8t8ttt8668
PPTX
Safe-Plates-Introductionhhgggghhbvddrtyg sdtuikk shjktd ftgikk_3.16.pptx
PPTX
Preservatives : recent and future trends
PPTX
Food Extruder and benefits for Fe rich food preduction
PPTX
February 03-2024Daily quality report..pptx
PDF
UDISE PLUS 2025 Block cluster and school Wise Entry Status 20 Aug 2025 10am.pdf
PDF
V6.001-FSSC-22000-V6-Part-1-Presentation.pdf
PDF
Goodggijgfccecevrvvoyiysis8tsiysitsi5aitaits
PDF
DEVELOPMENT OF A RESPIRATION RATE METER –A LOW-COST DESIGN APPROACH
PPTX
food microbiology.pptx lectures..........
PPTX
Crop management practices in rainfed Agriculture Final.pptx
PPTX
ACHARYA NARENDRA DEV UNIVERSITY OF AGRICUULTURE AND TECHNOLOGY , KUMARGANJ, A...
634512141-Untitledgggjjkhhjjkjjjuytffghjjjhrrfgh fffrrttttt uuuujjikkkkkhfdgh...
Lupins: Their Unique Nutritional and Health-Promoting Attributes
balanced-dietppt (1).pptx fodd dood dsasd
February 02-2024Daily quality report..pptx
Asian Template.hjkjhgvckhvckhasadvdvdavdav
FST-401 lecture # 11 food chemistry.pptx
Altered metabolism (Warburg effect, glutamine addiction, lipid metabolism)
Overview to Meetings Incentive Conference
ONLINE_BOOK_STORE[1].pptxyut87t8t8ttt8668
Safe-Plates-Introductionhhgggghhbvddrtyg sdtuikk shjktd ftgikk_3.16.pptx
Preservatives : recent and future trends
Food Extruder and benefits for Fe rich food preduction
February 03-2024Daily quality report..pptx
UDISE PLUS 2025 Block cluster and school Wise Entry Status 20 Aug 2025 10am.pdf
V6.001-FSSC-22000-V6-Part-1-Presentation.pdf
Goodggijgfccecevrvvoyiysis8tsiysitsi5aitaits
DEVELOPMENT OF A RESPIRATION RATE METER –A LOW-COST DESIGN APPROACH
food microbiology.pptx lectures..........
Crop management practices in rainfed Agriculture Final.pptx
ACHARYA NARENDRA DEV UNIVERSITY OF AGRICUULTURE AND TECHNOLOGY , KUMARGANJ, A...

DOUBLY LINKEDLIST.PPTXdddddddddddddddddddddddd

  • 2. Doubly Linked List 1.) In doubly linked list each node contains two pointers. 2.) which points has a reference to both the next point and pervious point of node in list. 3.) A doubly linked list is a two-way list because one can move in either from left to right or from right to left
  • 3. Info prev next NODE Node Data  Info : the user’s data.  Prev, Next : the address of next and previous node in list
  • 4. Operations on a Doubly linked list 1) Create list. 2) Insert element at beginning in list. 3) Insert element at end in list. 4) Insert element at any place in list. 5) Delete element from the beginning of list. 6) Delete element from the end of list. 7) Delete element from any place from list.
  • 5. Create doubly linked list NULL 7 X Create One another node 9 X X
  • 6. Insert an element at beginning doubly linked list
  • 7. Delete an element at any place doubly linked list
  • 8. Doubly Linked list Advantages 1. We can traverse in both directions i.e. from starting to end and as well as from end to starting. 2. It is easy to reverse the linked list. 3. If we are at a node, then we can go to any node. But in linear linked list, it is not possible to reach the previous node. Disadvantages 1. It requires more space per space per node because one extra field is required for pointer to previous node. 2. Insertion and deletion take more time than linear linked list because more pointer operations are required than linear linked list.