What does the following diagram represent?

What does the following diagram represent?

Solution
✅ Correct Option: 3
The diagram shows a linear structure where both ends, Front and Rear, allow insertion (push) and deletion (pop). This is a deque (double-ended queue).
Stack: insertion and deletion happen at one end only (the top).
Queue: insertion is only at the rear and deletion is only at the front.
Circular queue: the last position links back to the first, but this diagram is a straight, linear structure.
A deque can work as both a stack and a queue, depending on which ends are used.
Related questions:
2025: 22 May Shift 1
2026: 29 May Shift 1
2025: 15 May Shift 2
2026: 23 May Shift 1
2026: 20 May Shift 1