Chapter 5. Stacks and queues¶ Abstract A stack is like cats piled on top of one another; a queue is like cats standing in line. They represent last-in, first-out and first-in, first-out order, respectively. Chapter contents¶ 5.1 Stacks 5.2 Queues 5.3 Deques 5.4 Summary 5.5 Exercises Share your insights, questions, or suggestions in the comments