Match List-I with List-II in consideration of operations on Deque
List-I DEQUE FUNCTION List-II APPLICATION (A) ENQUEUE (I) To insert a new element at the end of the queue. (B) DEQUEUE (II) To add a new element at the beginning of the deque. (C) INSERTFRONT (III) To remove one element at a time from the end of the deque. (D) DELETIONREAR (IV) To remove one element at a time from the front of the queue.
Match List-I with List-II in consideration of operations on Deque
| List-I DEQUE FUNCTION | List-II APPLICATION |
|---|---|
| (A) ENQUEUE | (I) To insert a new element at the end of the queue. |
| (B) DEQUEUE | (II) To add a new element at the beginning of the deque. |
| (C) INSERTFRONT | (III) To remove one element at a time from the end of the deque. |
| (D) DELETIONREAR | (IV) To remove one element at a time from the front of the queue. |
Solution
✅ Correct Option: 3
| List I | List II |
|---|---|
| (A) ENQUEUE | (I) To insert a new element at the end of the queue. |
| (B) DEQUEUE | (IV) To remove one element at a time from the front of the queue. |
| (C) INSERTFRONT | (II) To add a new element at the beginning of the deque. |
| (D) DELETIONREAR | (III) To remove one element at a time from the end of the deque. |
ENQUEUE and DEQUEUE are the standard queue operations: insert at the rear and remove from the front. The deque-specific operations are named by the end they act on: INSERTFRONT adds at the front and DELETIONREAR removes from the rear.
Related questions:
2026: 11 May Shift 2
2026: 13 May Shift 2
