Using Figure 6.3 as a model, illustrate the operation of BUILD-MAX-HEAP on the array \(A = \{5, 3, 17, 10, 84, 19, 6, 22, 9 \}\).
a.)
b.)
c.)
d.)
e.)
The following LaTeX code was used to generate heap a:
The following LaTeX code was used to generate heap b:
The following LaTeX code was used to generate heap c:
The following LaTeX code was used to generate heap d:
The following LaTeX code was used to generate heap e: