Analysis and Design of Algorithms
Analysis and Design of Algorithms
2. Illustrate the operation of MAX-HEAPIFY (A, 3) on the array A [27, 17, 3, [3]
16, 13, 10, 1, 5, 7, 12, 4, 8, 9, 0].
Q.2 [A] Compare Greedy method with Dynamic Programming method. [2]
1
“A” as the source vertex.
*************