0 votes 0 votes closed with the note: resolved :) I've read and been told that Heapsort can only be applied on Max heap, but this article for G4G states otherwise - https://www.geeksforgeeks.org/heap-sort-for-decreasing-order-using-min-heap/ So, is it true that HS can be applied also on Min heap? Algorithms binary-heap algorithms + – iarnav asked Jun 20, 2018 closed Jun 21, 2018 by iarnav iarnav 691 views comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Yes, it can be applied on Min heap and the output sorted array will be in descending order. iarnav answered Jun 21, 2018 iarnav comment Share Follow See all 0 reply Please log in or register to add a comment.