Question: In which scenario would you prefer a queue over a stack?
Options:
Correct Answer: When you need to process elements in the order they were added
Solution:
A queue is preferred when you need to process elements in the order they were added, following the First In First Out (FIFO) principle.