Sorts and extracts the internal items of the heap. It will take O(n log n).
O(n log n)
A heap to sort.
The sorted items.
Generated using TypeDoc
Sorts and extracts the internal items of the heap. It will take
O(n log n)
.