Pergunta de entrevista da empresa Microsoft

How to work with min max heaps