A Queue is an ordered linear data structure, which follows ___________ strategy.
A Queue is an ordered linear data structure, which follows ___________ strategy.
Solution
✅ Correct Option: 1
A queue 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 one removed first, like people standing in a line.
Options 2 and 3: LIFO (Last In, First Out) and FILO (First In, Last Out) mean the same thing and describe a stack, where insertion and deletion happen at the same end (the top).
Option 4: a deque (double-ended queue) is a data structure that allows insertion and deletion at both ends. It is not a strategy.
Related questions:
2026: 20 May Shift 1
2025: 21 May Shift 1