Fund. CS II (CS152 2005F)

Class 44: Heaps and Heap Sort

Back to Discussion of Exam 2. On to Dictionaries (1): The Dictionary ADT.

Held: Wednesday, 16 November 2005

Summary: Today we consider the heap, an important implementation of priority queues.

Related Pages:

Overview:

Priority Queues, Revisited

A Binary Implementation

Detour: Tree Terminology

Implementation of Key Operations

An Introduction to Heaps

The Heap Property

Examples

Heap Operations

Adding to Heaps

Deleting Elements from Heaps

Implementing Heaps with Arrays

Heap Sort

Back to Discussion of Exam 2. On to Dictionaries (1): The Dictionary ADT.

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 Tue Dec 6 09:47:43 2005.
The source to the document was last modified on Thu Aug 25 16:15:09 2005.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS152/2005F/Outlines/outline.44.html.

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

Samuel A. Rebelsky, rebelsky@grinnell.edu