Domanda di colloquio di General Mills

write code for heap complexity of heap