Pergunta de entrevista da empresa Bloomberg

How is a priority queue implemented and stored?