Comments on: Heapsort – Algorithm, Source Code, Time Complexity https://www.happycoders.eu/algorithms/heapsort/ Fri, 02 May 2025 08:20:26 +0000 hourly 1 By: Sven Woltmann https://www.happycoders.eu/algorithms/heapsort/#comment-17275 Mon, 04 Jul 2022 19:49:15 +0000 https://www.happycoders.eu/?p=15676#comment-17275 In reply to Anushka Divekar.

Hello Anushka,

thank you so much for pointing this out to me.

You refer to the paragraph starting with "This tree does not yet represent a max heap", right?

I've fixed it now.

Thanks again + best wishes,
Sven

]]>
By: Anushka Divekar https://www.happycoders.eu/algorithms/heapsort/#comment-17274 Mon, 04 Jul 2022 17:20:09 +0000 https://www.happycoders.eu/?p=15676#comment-17274 You have said that max heap is where children are greater than parents...well that is wrong!

Max heap - root node is greater than or equal to its children.

]]>