Question d’entretien chez Amazon

Describe a heap and write code for an insert.