Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A) Queue(I) Accessing using index
(B) Stack(II) Insertion from any end
(C) Deque(III) Last In First Out
(D) Array(IV) First In First Out

Solution

✅ Correct Option: 4
List IList II
(A) Queue(IV) First In First Out
(B) Stack(III) Last In First Out
(C) Deque(II) Insertion from any end
(D) Array(I) Accessing using index

Queue and Stack are the pair most often swapped. A queue works like a line at a ticket counter (first person served first), while a stack works like a pile of plates (the top plate is taken first).

Deque means "double-ended queue", so insertion and deletion are allowed at both ends.

Keyboard Shortcuts

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