Types Of Data Structure:-
⫸ Primitive Data Structure:-
- These are basic structure and directly operated by machine instruction.
- They have different representation on different computers.
- These built in data structure.
- Example:- Integer, Float, Character.
⫸ Non-Primitive Data Structure:-
- These are derived from the primitive data structure.
- It's a collection of same type of or different type primitive data structure.
- They are in composite nature.
- They emphasize a grouping of same or different data items, with relationship between each item.
Linear Data Structure:-
- A Data structure is linear when all the element are arranged in a linear(sequential) order.
- They are mapping is one dimensional.
- The elements have 1-1 relationship.
➤ Array ➤ Linked List
Non-Linear Data Structure:-
- A Data structure is linear when all the element are arranged in a linear(sequential) order.
- The elements have one-many relationship.
Comments
Post a Comment