Question d’entretien chez Arm

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