Introduction (types)
Introduction (types)
Applications
1
Data Structure
And its types
2
Data Structure
3
Types of Data Structure
Data
Structure
NON
LINEAR
LINEAR
4
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 .
6
Array
:-An array is a collection of
homogeneous type of data
elements.
:-An array is consisting of a
collection of elements .
7
Operation Performed On
Array
1.Traversing
2.Search
3.Insertion
4.Deletion
5.Sorting
6.Merging
8
Representation of Array
AAA 1
BBB 2
CCC 3
DDD 4
EEE 5
9
Array Representation
10
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.
11
Representation of Stack
EEE TOP
DDD
CCC
BBB
AAA
12
Stack Representation
13
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
15
Representation of Queue
55 65 75
16
Queue Representation
17
Linked
List
18
Operation Performed on Linked
List
1.Traversing
2.Searching
3.Insertion
4.Deletion
19
Linked Representation
20
2.Non Linear
1.Tree
2.Graph
21
Tree
In computer science, a treeis a widely-
used data structure that emulates a
hierarchical tree structure with a set of
linked nodes.
22
Operation On Tree
1.Insertion
2.Deletion
3.Searching
23
Tree Representation
24
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.).
25
Operation Performed
Graph
1.Searching
2.Insertion
3.Deletion
Graph Representation
27