__________ is an ordered linear data structure, following FIFO strategy.
__________ is an ordered linear data structure, following FIFO strategy.
Solution
✅ Correct Option: 3
A queue is an ordered linear data structure that follows FIFO (First In, First Out). Elements are added at the rear (enqueue) and removed from the front (dequeue), so the element inserted first is the first one removed.
Option 2: A stack is also linear and ordered, but it follows LIFO (Last In, First Out), not FIFO.
Memory trick: a queue is like a line at a ticket counter, where the first person in line is served first.
Related questions:
2025: 13 May Shift 2
2026: 11 May Shift 2