1 - Introduction To DS
1 - Introduction To DS
ALGORITHMS
INTRODUCTION OF DATA STRUCTURE
BY MAYANK BHATT
OUTLINE
Basic Definitions
Computer
Data
Information
Data Structure
Algorithm
Applications of Data Structure
Recap of Various Data Structures
Formal Definitions
Classification of Data Structures
INTRODUCTION TO DATA STRUCTURE
• What is Computer?
• Computer is an electronic machine which is
used for data processing and manipulation.
• For every kind of processing, there is a need of
data.
INTRODUCTION TO DATA STRUCTURE
• What is Data?
• Data is the basic fact or entity that is
utilized in calculation or manipulation.
• What is Information?
• Processed data
INTRODUCTION TO DATA STRUCTURE
BY MAYANK BHATT
DATA STRUCTURE & ITS APPLICATIONS
Application of
Data Structure
Application of
Data Structure
___________________
Youtube.com
C K
___________________
A
Mitindore.co.in
S T
___________________
Google.com This is Real
_
life
application of
STACK data
structure i.e.
LIFO.
DATA STRUCTURE & ITS APPLICATIONS
Application of
Data Structure
TOKEN TOKEN
-3 -2
TOKEN
-1
This is Real
life
application
QUEUE of an
QUEUE
DATA STRUCTURE & ITS APPLICATIONS
Application of
Data Structure
ADDITION OF 2
POLYNOMIALS :
• p1(x) = 18x7 + 16x4 + 5x +3
• p2(x) = 4x6 + 10x4 + 12x +
8
18 7 1 4 5 1 3 0
6
p2(x) = 4x6 + 10x4 + 12x + 8
4 6 1 4 1 1 8 0
0 2
p1(x) + p2(x) = 18x7 + 4x6 + 26x4 + 17x + 11
18 7 4 6 2 4 1 1 1 0
6 7 1
DATA STRUCTURE & ITS APPLICATIONS
This is Real
Application of life
Data Structure application
of a TREE
DATA STRUCTURE & ITS APPLICATIONS
Array
Stack
Linear
Oueue
Data
Structure Linked
s List
Tree
Non
Linear
Graph
Data types
1 int 2
2 char 1
3 float 4
4 double 8
5 long int 4
Common Operations on Data Structures