SlideShare a Scribd company logo
2
Most read
4
Most read
6
Most read
DYNAMIC DATA STRUCTURE
SHYAM REGHU
S3 CSE ROLL.NO: 41
GEC IDUKKI
CONTENTS
– LIMITATIONS OF AN ARRAY
– DYNAMIC DATA STRUCTURE
– INSEARTION AND DELETION
– ADVANTAGES
– SPECIAL TYPE OF DYNAMIC STRUCTURES
– CONCLUSION
Limitations of an Array
• LIMITED SIZE
• ITEMS OF SAME DATA TYPE CAN BE ONLY STORED
• DIFFICULT TO ADD ELENT TO SORTED ARRAY
• SOME TIMES IT WASTE THE MEMORY
• STATIC DATA STRUCTURE.
CONSIDER AN ARRAY OF SIZE 7
THIS LEAD TO THE CONCEPT OF LINKED LIST..
Dynamic data structures
• WHAT IS A LINEAR LINKED LIST ?
• an ordered set of data elements, each containing a
link to its successor (and sometimes its predecessor).
• It is a sequence of nodes.
• Each node stores
– element
– link to the next node
next
elem node
Dynamic data structures
• A linked list is a series of connected nodes
• Each node contains at least
– A piece of data (any type)
– Pointer to the next node in the list
• Head: pointer to the first node
• Tail : The last node points to NULL
Starting Node
Let's go through an Example
INSERTION
DELETION
• To delete the node DS from the link
Advantages of Linked Lists
• They are a dynamic in nature which allocates
the memory when required.
• Insertion and deletion operations can be
easily implemented.
• Stacks and queues can be easily executed.
• Linked List reduces the access time.
CIRCULAR LINKED LIST
• A Circular Linked List is a special type of Linked List
• It supports traversing from the end of the list to the beginning
by making the last node point back to the head of the list
• A Rear pointer is often used instead of a Head pointer(the last
node point back to the first node )
REAR
10 20 40 7055
USES OF CIRCULAR LINKED LIST
• Circular linked lists are useful for playing video
and sound files in “looping” mode.
• They are also a stepping stone to
implementing graphs.
Doubly-Linked List
• info: the user's data.
• next, back: the address of the next and
previous node in the list.
back nextinfo
– Each node points to not only successor but the
predecessor
– There are two NULL: at the first and last nodes
in the list
– Advantage: Given a node, it is easy to visit its
predecessor. Convenient to traverse lists
backwards
A B C 
• A linked list is a dynamic data structure
• Which is a sequence of nodes
• Advanced linked lists are circular and double
linked list
• We can allocate memory when it is required
• It is difficult to locate an item in the middle
position.
Dynamic data structures
PRESENTED BY…….
SHYAM REGHU
S3 CSE ROLL.NO: 41
GEC IDUKKI

More Related Content

PPT
Unit 6 interprocessor arbitration
PPTX
Computer architecture memory system
PPTX
PPTX
Translation lookaside buffer
PPTX
Modes of transfer
PPTX
Bridging in Networking
PPTX
Unit I Database concepts - RDBMS & ORACLE
DOCX
Cache memory
Unit 6 interprocessor arbitration
Computer architecture memory system
Translation lookaside buffer
Modes of transfer
Bridging in Networking
Unit I Database concepts - RDBMS & ORACLE
Cache memory

What's hot (20)

PPTX
Cache memory
PPTX
File Organization
PPS
Cache memory
PPT
Computer architecture cache memory
PPTX
RPC: Remote procedure call
PPTX
Associative memory and set associative memory mapping
PPT
Code Optimization
PPT
Bus interconnection
PPTX
Cost estimation for Query Optimization
PPTX
Segmentation in operating systems
PPTX
Types of buses of computer
PPTX
Cache memory
PPT
Memory allocation (4)
PPTX
General register organization (computer organization)
PPTX
Indexing structure for files
PPTX
Transport layer protocols : TCP and UDP
PPTX
Key and its different types
PPTX
Demand paging
PPTX
INTERCONNECTION STRUCTURE
PPT
I/O System
Cache memory
File Organization
Cache memory
Computer architecture cache memory
RPC: Remote procedure call
Associative memory and set associative memory mapping
Code Optimization
Bus interconnection
Cost estimation for Query Optimization
Segmentation in operating systems
Types of buses of computer
Cache memory
Memory allocation (4)
General register organization (computer organization)
Indexing structure for files
Transport layer protocols : TCP and UDP
Key and its different types
Demand paging
INTERCONNECTION STRUCTURE
I/O System
Ad

Viewers also liked (15)

PPTX
KPUCC-Rs instructor ppt_chapter5_final
PDF
Packet Tracer Simulation Lab Layer 2 Switching
PPS
Ds 1
PPT
Day 14.2 configuringvla ns
PPTX
Lesson 16 vlan
PPTX
KPUCC-Rs instructor ppt_chapter3_final
PDF
Virtuals LAN
PDF
At8000 s configurando vla_ns
PPTX
PPTX
CCNA2 Verson6 Chapter6
PPT
Vlan
PDF
Router commands
DOC
Lab practice 1 configuring basic routing and switching (with answer)
PDF
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
KPUCC-Rs instructor ppt_chapter5_final
Packet Tracer Simulation Lab Layer 2 Switching
Ds 1
Day 14.2 configuringvla ns
Lesson 16 vlan
KPUCC-Rs instructor ppt_chapter3_final
Virtuals LAN
At8000 s configurando vla_ns
CCNA2 Verson6 Chapter6
Vlan
Router commands
Lab practice 1 configuring basic routing and switching (with answer)
Alphorm.com Support de la Formation Cisco CCNP SWITCH (examen 300-115)
Ad

Similar to Dynamic data structures (20)

PPTX
DATA STRUCTURES AND LINKED LISTS IN C.pptx
PPTX
DATA STRUCTURES AND LINKED LISTS IN C.pptx
PDF
Data Structure Lecture 3 Linked Lists.pdf
PPTX
Linked_List_Presentation_1.pptxjsjkskxjjdjekdlkdjmdkdk
PPTX
Data Structures and Algorithms - Lec 05.pptx
PPT
CH02- Data Structures and Algorithms.ppt
PPTX
Linked list
PPTX
Linked lists linked lists vs Arrays.pptx
PPT
2- link-list.ppt
PPT
Unit 1 linked list
PPT
linked list2.ppt linked list part 2 ppt
PPT
ANOITO2341988888888888888888888885555.ppt
PPTX
Data structfghz€zdsrgnhlhlfdshllures.pptx
PPTX
Linked list
PPTX
Linked List
PPTX
DLL DATA STRUCT.pptx
PPTX
Introduction to Linked List_dsa_inC.pptx
PPTX
Link_List.pptx
PPTX
Linked list (1).pptx
PDF
ds-lecture-4-171012041008 (1).pdf
DATA STRUCTURES AND LINKED LISTS IN C.pptx
DATA STRUCTURES AND LINKED LISTS IN C.pptx
Data Structure Lecture 3 Linked Lists.pdf
Linked_List_Presentation_1.pptxjsjkskxjjdjekdlkdjmdkdk
Data Structures and Algorithms - Lec 05.pptx
CH02- Data Structures and Algorithms.ppt
Linked list
Linked lists linked lists vs Arrays.pptx
2- link-list.ppt
Unit 1 linked list
linked list2.ppt linked list part 2 ppt
ANOITO2341988888888888888888888885555.ppt
Data structfghz€zdsrgnhlhlfdshllures.pptx
Linked list
Linked List
DLL DATA STRUCT.pptx
Introduction to Linked List_dsa_inC.pptx
Link_List.pptx
Linked list (1).pptx
ds-lecture-4-171012041008 (1).pdf

Recently uploaded (20)

PPTX
Sustainable Sites - Green Building Construction
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
PPT on Performance Review to get promotions
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Well-logging-methods_new................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Sustainable Sites - Green Building Construction
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Embodied AI: Ushering in the Next Era of Intelligent Systems
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPT on Performance Review to get promotions
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Lecture Notes Electrical Wiring System Components
Well-logging-methods_new................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
UNIT 4 Total Quality Management .pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Internet of Things (IOT) - A guide to understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx

Dynamic data structures

  • 1. DYNAMIC DATA STRUCTURE SHYAM REGHU S3 CSE ROLL.NO: 41 GEC IDUKKI
  • 2. CONTENTS – LIMITATIONS OF AN ARRAY – DYNAMIC DATA STRUCTURE – INSEARTION AND DELETION – ADVANTAGES – SPECIAL TYPE OF DYNAMIC STRUCTURES – CONCLUSION
  • 3. Limitations of an Array • LIMITED SIZE • ITEMS OF SAME DATA TYPE CAN BE ONLY STORED • DIFFICULT TO ADD ELENT TO SORTED ARRAY • SOME TIMES IT WASTE THE MEMORY • STATIC DATA STRUCTURE.
  • 4. CONSIDER AN ARRAY OF SIZE 7 THIS LEAD TO THE CONCEPT OF LINKED LIST..
  • 6. • WHAT IS A LINEAR LINKED LIST ? • an ordered set of data elements, each containing a link to its successor (and sometimes its predecessor). • It is a sequence of nodes. • Each node stores – element – link to the next node next elem node
  • 8. • A linked list is a series of connected nodes • Each node contains at least – A piece of data (any type) – Pointer to the next node in the list • Head: pointer to the first node • Tail : The last node points to NULL
  • 10. Let's go through an Example
  • 12. DELETION • To delete the node DS from the link
  • 13. Advantages of Linked Lists • They are a dynamic in nature which allocates the memory when required. • Insertion and deletion operations can be easily implemented. • Stacks and queues can be easily executed. • Linked List reduces the access time.
  • 14. CIRCULAR LINKED LIST • A Circular Linked List is a special type of Linked List • It supports traversing from the end of the list to the beginning by making the last node point back to the head of the list • A Rear pointer is often used instead of a Head pointer(the last node point back to the first node ) REAR 10 20 40 7055
  • 15. USES OF CIRCULAR LINKED LIST • Circular linked lists are useful for playing video and sound files in “looping” mode. • They are also a stepping stone to implementing graphs.
  • 16. Doubly-Linked List • info: the user's data. • next, back: the address of the next and previous node in the list. back nextinfo
  • 17. – Each node points to not only successor but the predecessor – There are two NULL: at the first and last nodes in the list – Advantage: Given a node, it is easy to visit its predecessor. Convenient to traverse lists backwards A B C 
  • 18. • A linked list is a dynamic data structure • Which is a sequence of nodes • Advanced linked lists are circular and double linked list • We can allocate memory when it is required • It is difficult to locate an item in the middle position.
  • 20. PRESENTED BY……. SHYAM REGHU S3 CSE ROLL.NO: 41 GEC IDUKKI