Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) ENQUEUE(I) remove one element at a time from the front of the queue
(B) PUSH(II) insert a new element to the queue at the rear end
(C) POP(III) adds a new element at the top of the stack
(D) DEQUEUE(IV) removes the top most element of the stack

Solution

✅ Correct Option: 3
List IList II
(A) ENQUEUE(II) insert a new element to the queue at the rear end
(B) PUSH(III) adds a new element at the top of the stack
(C) POP(IV) removes the top most element of the stack
(D) DEQUEUE(I) remove one element at a time from the front of the queue

Stack operations (PUSH, POP) work at the top only (LIFO). Queue operations (ENQUEUE, DEQUEUE) work at the rear for insertion and at the front for removal (FIFO).

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question