Amazon Interview Question

It was a question involving min/max heaps.