Pregunta de entrevista de Bloomberg

How is a priority queue implemented and stored?