Linear Data structure: If the elements of a data structure result in a sequence
or a linear list then it
is called a Linear data structure.
Every data element is connected to its next and sometimes previous
element in a sequential manner.
Example - Arrays, Linked Lists, Stacks, Queues, etc.