Data Structure Using C
What is a Data ?
Data is a collection of raw facts or figures.
Ex:- name of a student, age of an employee, color of room, any number, string, etc.
Data are store in computer in the form of bits i.e. 0 or 1.
In real life there are various types of data are involved.
What is Information?
It is the process data.
What is Data Structure ?
Data Structure is a way for structuring data i.e. way of storing data in a computer so that:we can be used it efficiently.
we can easily retrieve the data.
we can easily modify the data.
Data structure is a collection of organized data along
with its mathematical operations which are efficient.
Data Structure = Organized Data + Allowed Operation
Data Structure consists of two thing:1. The type of structure that we are going to use to store data.
2. How efficiently we perform operations onto the data stored in structure so that it results in less
execution time and amount of memory space they required.
Classification of Data Structure based on data store
Data structures may be Linear or Non-Linear.
Linear Data Structure :- Data items are arranged in a linear sequence .
Ex:- Array and Linked list