Stacks & Queues:
...

Stack:
...

A Stack is a linear data structure in which the insertion of a new element and removal of an existing element takes place at the same end represented as the top of the stack.

Queue:
...

A Queue is defined as a linear data structure that is open at both ends and the operations are performed in First In First Out (FIFO) order.
Queue