1 votes 1 votes closed with the note: Got it Need approach to solve this ? Algorithms heap-sort algorithms + – Prajwal Bhat asked Dec 20, 2016 • closed Dec 20, 2016 by Prajwal Bhat Prajwal Bhat 604 views comment Share Follow See all 3 Comments See all 3 3 Comments reply Kapil commented Dec 20, 2016 reply Follow Share Try making a heap and I can see 3 numbers 7,8 and 9 are leaves, which I guess 3 heapifications are done, thats why these 3 elements became the leaves and they are sorting in ascending order. 2 votes 2 votes Prajwal Bhat commented Dec 20, 2016 reply Follow Share @Kapil ... Got it thanx 1 votes 1 votes utk0203 commented Dec 21, 2016 reply Follow Share Doesnt it took 3 heapification in building max heap? 0 votes 0 votes Please log in or register to add a comment.