Heap sort

1 min read

https://www.geeksforgeeks.org/heap-sort/

Implement a maxheap/minheap
Maximum of all subarrays of size K