Algorithms:

#1- Greedy

#2- Heap(Heapfy, heapsort, print)