Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 2 - No. 3)
What is the difference between a stack and a queue?
Stacks use LIFO (Last-In, First-Out) and queues use FIFO (First-In, First-Out).
Stacks use FIFO and queues use LIFO.
Stacks and queues are the same.
Stacks use a linear search while queues use a binary search.
Explanation
Stacks use LIFO and queues use FIFO.
Comments (0)
