data structure ppt
data structure ppt
a.Integer.
Non Linear Data b.Boolean.
Linear Data Structure
Structure c.Character
d.Real
➢ Data Structure :-
Data Structure :-
The branch which helps to understand the basic concepts of
organising and storing data.
-Ex :-
1. Boolean Data Types
2. Integer Data Types
3. Character Data Types
➢ Non Primitive Data Types :-
Defination :-
• The Data Types which are derived from the primitive data types.
• These Data Types are user defined.
• They are used to store compelx data structures, such as collections , objects
and references.
• These Data types starts with upper case.
Static
Linear D.S
Non dynamic
Primitive D.S
Non Linear Tress &
D.S Graphs
➢ Linear Data Structure :-
• Type Of Non primitive Data Structure in which data is stored in the sequential
manner.
• Each element is connected to its previous and next element.
• They are called “Linear” because their can be traversed in the straight line.
• Array
• Link list
• Stacks
• Queues
• Vectors
Eg.1.Linked
List
Dynamic
Linear Data Eg.2.Stack
Structure
Static Eg.1.Array
Num 26 7 67 50 66
0 1 2 3 4 5 Memory Locations
Array can be classified into three groups:
c.Multidimensional array:
• Multidimensional array can be defined as arrays of array
• Multidimensional arrays are not bounded to two indices or two dimensions
➢ Linked list :-
• It is a type of Dynamic data structure
• It is a Collection of nodes
• Each node contains data and reference to next node
a.Enqueue:-
b.Dequeue:-
• Removes and returns the elements from the front of the queue
c.Peek:-
• Returns the element at the front of the queue without removing it
d.Isempty:-
e.Isfull:-