ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Presented By
MD. TOFAZZAL HOSSAIN
ID NO. 163015003
Department: CSE
(Weekend)
Data structure is the way of organizing all data
items in order that not only elements to be
stored but also the relation between the
elements
DATA STRUCTURE
DATA STRUCTURE
LINEAR
LINK LIST
ARRAY
STACK
QUEUE
NON
LINEAR
TREES
&GRAPH
LINKED LIST
What are the problems with Arrays
- Size is fixed
-Array Items are stored contiguously
-Insertions and deletion at particular position is complex
Why Linked list ?
-Size is not fixed
-Data can be stored at any place
-Insertions and deletions are simple and faster
WHAT IS LINKED LIST?
A linked list is a collection of nodes with various fields
It contains data field and Address field or Link field
Info field
Link Field/
Address Field
Pointer to the
first node
LINKED LIST TYPES
Singly Linked list
Circular singly linked list
Doubly linked lists
Circular doubly linked lists
10 1000 200015 NULL20
SINGLY LINKED LIST
First
10 1000 200015 400020
CIRCULARSINGLY LINKEDLIST
Last node contains the address of the first node
First
DOUBLY LINKED LIST
Contains the address of previous node and next node
NULL 10 15 202000 1000 2000 NULL3000
First
CIRCULAR DOUBLY LINKED LIST
Contains the address of first node and last node
3000 10 15 202000 1000 2000 10003000
First
Thanks
To
ALL

More Related Content

Data structure ppt