Domanda di colloquio di Expedia Group

priority queue question it was easy