ClearCo interview question

Heap data structure question. How is it used?