Moonfrog Labs interview question

Round 2 DSA - Q2 Design a heap