Lecture 23

Learning objectives

After this class, you should be able to:

  1. Given an array of data, organize them as a heap using the O(n) time algorithm discussed in class.
  2. Prove that the heap initialization algorithm discussed in class has time complexity O(n).

Reading assignment

  1. Sec 6.9.2, class notes.

Exercises and review questions


Last modified: 1 Apr 2008