Pergunta de entrevista da empresa Arm

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