In the book is written:
The worst-case running time of heapsort is (nlgn). This is clear since sorting has a lower bound of (nlgn)
But can someone help me and show me explicitly that the lower-bound of this function is equal to Omega(nlgn)?
In the book is written:
The worst-case running time of heapsort is (nlgn). This is clear since sorting has a lower bound of (nlgn)
But can someone help me and show me explicitly that the lower-bound of this function is equal to Omega(nlgn)?
It sounds like the book is drawing on the fact that heapsort is a comparison-based sorting algorithm in that statement. So automatically, this paradigm of sorting algorithms have already been shown to have a lower-bound of Omega(nlgn):
http://en.wikipedia.org/wiki/Comparison_sort#Number_of_comparisons_required_to_sort_a_list