If an object is inserted into a queue, how soon can it be removed?
What will be an ideal response?
We have to wait for all of the other elements to be dequeued first, because of the inherent FIFO policy of queues.
Computer Science & Information Technology