Question d’entretien chez Applied Intuition

LC style question based on heap data structure.