Queue
The queue is an abstract data type or linear data structure from which elements can be inserted at the rear(back) of the queue and elements can be deleted from the front(head) of the queue.
The operations allowed in the queue are:
- insert an element at the rear
- delete element from the front
- get the last element
- get the first element
- check the size of the queue
- check if the queue is empty or not