What is a DEQUEUE operation on queue?
What is a DEQUEUE operation on queue?
Solution
✅ Correct Option: 3
A queue follows FIFO (First In, First Out). DEQUEUE removes and returns the element at the front of the queue, which is the one that has been waiting the longest.
Option 1: this describes ENQUEUE, which adds an element at the rear.
Option 4: removal from the rear is not allowed in a simple queue. It is possible only in a deque (double-ended queue).
Do not confuse DEQUEUE (remove from a queue) with DEQUE (a double-ended queue data structure).
Related questions:
2026: 29 May Shift 1
2025: 15 May Shift 2
2026: 18 May Shift 2