in Algorithms edited by
544 views
0 votes
0 votes
statement is true or false

Heap sort is inplace algorithm.    it is given as true

but heapsort uses maxheapify procedure which requires extra stack ., then how it is inplace..?
in Algorithms edited by
by
544 views

1 Answer

0 votes
0 votes
The answer given is true. Heapsort indeed an inplace algorithm but not stable.

go through this.. www.csl.mtu.edu/cs2321/www/newLectures/09_Inplace_Heap_Sort.html
Answer:

Related questions