Hello,
I am supposed to implement heapsort proposed by floyd. I got it as a home work. I know the simple implementation of heapsort. but what i am supposed to do is- while sorting, instead of comparing 3 values (parent and two childs), i need to compare only 2 child in the heapify procedure. can anybody help me with the algorithm?
Thank you,
Drew.