Question d’entretien chez Uber

How to construct a heap tree