A data structure is a way of storing data in the memory so that it can be used efficiently.
Linear Data Structures:
A data structure is said to be linear if its elements form a sequence.
• Linked Lists
• Stacks, Queues
Non linear Data Structures:
• Non linear data structures do not form a sequence.
• Non linear data structures are very flexiable and powerful datastructures and these can be used for wide variety of applications.
•Non linear data structures are most random in nature.
• programming on non linear data structures is difficult.