reset password
Author Message
cthanh
Posts: 56
Posted 15:53 Apr 16, 2016 |

was there a mistake on the question where MAX-HEAPIFY(A, 4)

did you mean to ask MAX-HEAPIFY(A,3)  so we max-heapify A[3] or the value of 4?

 

Thanks

Reem.m
Posts: 12
Posted 14:24 Apr 17, 2016 |

In this question you need to do max-heapify on node 4. If you have any doubts you can to me in my office hours and  I'll explain it to you.

Best