Given some descriptions, determine the sort function that is the best described by the given descriptions.
Uses priority queue data structure
Extracts the first node of the priority queue and does the same thing recursively to its child nodes
Running time is
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The key statement is
So the answer is Heapsort