Exercise 6.2.1

Using figure 6.2 as a model, illustrate the operation of MAX-HEAPIFY(A, 3) on the array $A = \langle 27, 17, 3, 16, 13, 10, 1, 5, 7, 12, 4, 8, 9, 0 \rangle$.