_________ is a version of queue that allows insertion and deletion at both ends.
_________ is a version of queue that allows insertion and deletion at both ends.
Solution
✅ Correct Option: 2
A deque (double-ended queue) allows insertion and deletion at both the front and the rear. It can behave as a stack or as a normal queue, depending on which ends are used.
Option 1: Enqueue is an operation (insertion at the rear of a queue), not a type of queue.
Option 3: A circular queue still inserts only at the rear and deletes only at the front. It just wraps the end back to the start to reuse space.
Option 4: A stack uses one end only (LIFO), so insertion and deletion both happen at the top.
Related questions:
2026: 24 May Shift 1
2026: 19 May Shift 1
2026: 18 May Shift 2
2026: 18 May Shift 2