In this article, I will introduced What data structure is ? in detail but Before understanding what data structure is, first try to understand What is Data?
Data is nothing but it it type of quantities,symbols or characters on which any operation can be perform by the computer or in other words we can say that Data is collection of quantities,character or signals which has no meaning.
For Example: FORINTNIOMA it is collection of character but it has no meaning even then it is called Data but if we arrange these characters in proper sequence then we get some meaning from it like FORINTNIOMA--> INFORMATION.
![]() |
| Data Structure |
Data Structure
Why we need Data Structure?
- Data Structure is used to implementing to store an image as a bitmap.
- Data Structure is used to implementing redo and undo feature.
- Data Structure is used to implement ADT(Abstract Data Type) i.e. to implement stack ADT we can use an array data structure or link list data structure.
Advantage of Data Structure
- It make the program more efficient in term of time.
- It helps to make a program more efficient term of Space.
- It can be used by multiple client programs.
Types of Data Structure
- Linear Data Structure
- Non Linear Data Structure
Linear Data Structure:
A Data Structure is said to be linear data structure when all the all the data,information or elements are arranged in linear or sequential order.
In other term we can say that, " If each elements of data structure has only one predecessor and only one successor that data structure is know as linear data structure but it holds one exception that is, the first element has no predecessor and last element has no successor.
For Example: We have array,queue,link-list and stacks.
Non-Linear Data Structure:
Those Data Structure in which elements,information or data are not arranged in linear or sequential order that data structure is know as Non-Linear Data Structure.
In other term we can say that, " If each elements of data structure has not only one predecessor and only one successor such data structure is know as Non Linear Data Structure.
For Example: Tree Data Structure and Graph Data Structure.
Even some books preferred two more type of Data Structure which is
- Static Data Structure
- Dynamic Data Structure
