What is Data Structure?
Definition : It is the way of organizing the Data elements and storing the relationship between the elements.
Types
1) Linear Data Structure :
These are those data structures which have linear relationship between adjacent elements.
Eg: linked list.
2) Non-Linear Data Structure :
These are those data structures which do not have linear relationship between adjacent elements but have hierarchical relationship with the elements.
Eg: trees, graphs.