Question d’entretien chez Tutor Intelligence

Priority queue based leetcode medium question.