2,588 views
1 votes
1 votes
1) Show that when all elements are distinct, the best case running time of HEAPSORT is Ω(n log n).

2) Show that the worst case running time of HEAPSORT is Ω(n log n).

1 Answer

Related questions

0 votes
0 votes
1 answer
1
Ramayya asked Jan 7
192 views
Worst case time complexity of heap sort for n elementsO(nlogn)O(logn)O^2O(n)
1 votes
1 votes
2 answers
3
go_editor asked Mar 26, 2020
706 views
How much extra space is used by heapsort ?$O (1)$$O (\log n)$$O (n)$$O (n^2)$