Math 176 - Data Structures
Answers to homework 4, first problem.

Problem 6.2. Results of inserting 10,12, 1, 14, 6, 5, 8, 15,3, 9, 7, 11, 13 ,2.

a. One at a time:

b. All at once with buildHeap:

Solutions for problems 6.8 and 6.10a.: in PDF format or Postscript format.