Data Structure
Data Structure
INTRODUCTION
The structure of the data and the synthesis of the algorithm are relative to each other.
Data presentation must be easy to understand so the developer, as well as the user,
can make an efficient implementation of the operation.
Data structures provide an easy way of organising, retrieving, managing, and storing
data.
data System/process
Output
For example, in the previous example, if we associate some other
label with the raw data or process the data, it becomes meaningful.
Data Information
25 Age of person
A1 A2 ……… An
Li Li+c …………
Li+(n-1)c
Linked organization: In this organization, the elements are stored
in memory at any memory location. Their sequence is maintained
by linking the elements. The physical location of the element does
not determine its order in the set of elements.
For example: Linked list uses linked organization.
A1 A2 An
Li Lj
Lk
ALGORITHM
Usually the average case and worst-case step count is the same.
ASYMPTOTIC NOTATIONS (Ο,Ω,Θ)