Linear structure:
- A data structure is called linear if all of its elements are arranged in the sequential order.
- In linear data structures, the elements are stored in a non-hierarchical way where each item has the successors and predecessors except the first and last element.
Example:
stack
queue