Eli Lilly and Company Interview Question

Question was regarding min heap