Amazon interview question

how to construct a max heap?