Question d’entretien chez JPMorganChase

Write a function to insert into a heap.