SlideShare a Scribd company logo
Wel Come
TO YOU
DATA
STRUCTURE
AND ITS TYPES
Data Structure
It is a logical way of storing data and
it also define mechanism of retrieve
data.
Types of Data Structure
DATA
STRUCTUR
E
NON
LINEAR
LINEAR
Data Structure Operation
Traversing: Accessing each record exactly once so that
certain item in the record may be processed.
Searching: finding the location of the record with a
given key value .
Insertion : add a new record to the structure
Deletion : removing a record from the structure
Linear Data Structure
1.Array
2.Stack
3.Queue
4.Linked List
1.Array
An array is a collection of
homogeneous type of data elements.
An array is consisting of a collection of
elements .
Operation Performed On
Array
1.Traversing
2.Search
3.Insertion
4.Deletion
5.Sorting
6.Merging
Representation of array in memory
1
2
3
4
5
Array Representation
2.Stack
A Stack is a list of elements in which an
element may be inserted or deleted at
one end which is known as TOP of the
stack.
Operation Performed on
Stack
Push: add an element in stack
Pop: remove an element in stack
Representation of Stack
EEE TOP
DDD
CCC
BBB
AAA
Stack Representation
3.Queue
A queue is a linear list of element in
which insertion can be done at one end
which is known as front and deletion
can be done which is known as rear.
Operation Performed On
Queue
Insertion : add a new element in queue
Deletion: Removing an element in queue
Representation of Queue
55 65 75
Queue Representation
4.Linked List
A Linked list is a linear collection of
data elements .It has two part one is
info and other is link part.info part
gives information and link part is
address of next node
Operation Performed on
Linked List
1.Traversing
2.Searching
3.Insertion
4.Deletion
Linked Representation
2.Non Linear
1.Tree
2.Graph
1.Tree
In computer science, a tree is a widely-used data
structure that emulates a hierarchical tree structure
with a set of linked nodes.
Operation On Tree
1.Insertion
2.Deletion
3.Searching
Tree Representation
2.Graph
A graph data structure may also associate to
each edge some edge value,such as a
symbolic label or a numeric attribute (cost,
capacity,length,etc.).
Operation Performed
Graph
1.Searching
2.Insertion
3.Deletion
Graph Representation

More Related Content

PDF
Datastructure 110410094008-phpapp02
PPTX
Data structure
PPTX
Data structure and its types
PDF
Datastructureitstypes
PPTX
Data structure & its types
PPTX
Datastructureanditstypes 110410094332-phpapp02
PPTX
Data structure and its types.
PDF
chapter-4-data-structure.pdf
Datastructure 110410094008-phpapp02
Data structure
Data structure and its types
Datastructureitstypes
Data structure & its types
Datastructureanditstypes 110410094332-phpapp02
Data structure and its types.
chapter-4-data-structure.pdf

Similar to introduction to data structure and algorithms.pptx (20)

PDF
1.1 ADS data-structure.pdf
PPTX
8.DATA STRUCTURES UNIT 1 AND 2 CS3301PPT.pptx
PPTX
Data Structure Introduction- Arrays, Matrix, Linked List
PPT
Intro ds
DOCX
CDS artificial intelligence and Machine.docx
DOCX
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
PPTX
Data -structures for class 12 , easy ppt
PPTX
Data structure & algorithms introduction
PPTX
TSAT Presentation1.pptx
PPTX
Data Structure - Elementary Data Organization
PPTX
DATA STRUCTURE AND ALGORITHM with linked list
PPTX
Slide 1.-datastructure
PDF
M v bramhananda reddy dsa complete notes
PPTX
Bca ii dfs u-2 linklist,stack,queue
PPTX
Lect-1.pptx
PPTX
Mca ii dfs u-3 linklist,stack,queue
PDF
17. DS, Stacks Types of DS.pdf
PPTX
Data structure
PPTX
Assignment
PPTX
DS Module 1.pptx
1.1 ADS data-structure.pdf
8.DATA STRUCTURES UNIT 1 AND 2 CS3301PPT.pptx
Data Structure Introduction- Arrays, Matrix, Linked List
Intro ds
CDS artificial intelligence and Machine.docx
Datastructures and algorithms prepared by M.V.Brehmanada Reddy
Data -structures for class 12 , easy ppt
Data structure & algorithms introduction
TSAT Presentation1.pptx
Data Structure - Elementary Data Organization
DATA STRUCTURE AND ALGORITHM with linked list
Slide 1.-datastructure
M v bramhananda reddy dsa complete notes
Bca ii dfs u-2 linklist,stack,queue
Lect-1.pptx
Mca ii dfs u-3 linklist,stack,queue
17. DS, Stacks Types of DS.pdf
Data structure
Assignment
DS Module 1.pptx
Ad

Recently uploaded (20)

PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharma ospi slides which help in ospi learning
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Lesson notes of climatology university.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
master seminar digital applications in india
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
human mycosis Human fungal infections are called human mycosis..pptx
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Computing-Curriculum for Schools in Ghana
Pharma ospi slides which help in ospi learning
Complications of Minimal Access Surgery at WLH
Lesson notes of climatology university.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Cell Structure & Organelles in detailed.
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Anesthesia in Laparoscopic Surgery in India
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Final Presentation General Medicine 03-08-2024.pptx
master seminar digital applications in india
Microbial disease of the cardiovascular and lymphatic systems
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Ad

introduction to data structure and algorithms.pptx