CCommunity
A data structure is a data organization, management and storage format that enables efficient access and modification.
A data structure can be divided into two categories:
1. Linear data structure
A data structure is said to be linear if its elements form a sequence or a linear list.
Examples: Array, Linked List, Stacks, Queue
2. Nonlinear data structure
It arranges the data in sorted order and there exists a relationship between the data elements.
Examples: Tree, Graph