Category Archives: Queue

Queue: Introduction

Queue: Introduction Queue is a linear data structure which follows FIFO i.e First In First Out. A very common example of queue is any queue of customers at a shop where the customer that came first is served first. The difference between stacks and queues is in removing. In a stack, we remove the item the most recently added whereas… Read More »