Amazon Interview Question

1 min heap problem other was on binary search