2.3: Overview of Stacks and Queues
Read this introduction to stacks and queues.
2.3.1: Introduction to Stacks
Read this introduction to stacks, which are also known as last-in/first-out lists.
Read section 4.2 on stacks. You will notice that this section is not nearly as long as the section on lists; this is because stacks are based on lists.
Equation parsing is one application of stacks, as explained on this page.
This page illustrates the basics of stacks via a simple program.
2.3.2: Introduction to Queues
Read this introduction to queues, which are also known as first-in/first-out lists.
Read section 4.3 on queues, which discusses some modifications to the list implementation that help to facilitate queues.
- Job scheduling is one application of queues, as explained on this page.