Eli Lilly and Company interview question

Question was regarding min heap