Domanda di colloquio di Arm

How would you code a priority queue in C++?