Question d’entretien chez Amazon

DSA based question utilizing Priority Queues