Data structure is a way of organizing the data in computer so we can use efficiencly.
we can classified data structure in two parts:-
-
Primitive
-
- Non-Primitive
-
Primitive: This type of data structure directly operate on machine instruction. This are predefined. A) Integer B) Float C) Character D) Pointer
-
Non-primitive: This type of DS derived from primitive DS. They are not directly operate upon machine. We can classfied Non-primitive DS into two categories:
-
Linear 1) Array 2) Stack 3) Queue 4) Linked List
-
Non-linear 1) Tree 2) Graph