Pergunta de entrevista da empresa Amazon

Explain time complexity in implementing a Priority Queue.