Question d’entretien chez Bloomberg

1. Design a queue with a getMin() function

Réponse à la question d'entretien

Utilisateur anonyme

10 juill. 2020

Could you wrap an STL queue and priority queue into a class ? Then whenever queue.pop is called, remove the corresponding element from the priority queue.