Question: What is the primary difference between a stack and a queue?
Options:
Correct Answer: Stack is LIFO, Queue is FIFO
Solution:
A stack follows Last In First Out (LIFO) order, while a queue follows First In First Out (FIFO) order.