Fund. CS II (CS152 2005S)

Class 27: Queues and Their Implementation

Back to Stacks and Their Implementation. On to Priority Queues.

Held: Wednesday, March 9, 2005

Summary: Today we consider a second linear structure: The Queue. Queues implement a first-in, first-out policy.

Overview:

Review of homework

Queues, revisited

Problems with the array-based implementation

Implementing queues with nodes

Priority Queues

Back to Stacks and Their Implementation. On to Priority Queues.

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Wed May 11 10:56:00 2005.
The source to the document was last modified on Mon Jan 24 10:17:07 2005.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2005S/Outlines/outline.27.html.

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky, rebelsky@grinnell.edu