Arcesium Interview Question

OOPS,DSA,one question the solution is usage of Heap Sort