Heap sort on an array of n elements uses how much extra space? | Heaps and Priority Queues question · AnyPrep