Pregunta de entrevista de Amazon

Explain time complexity in implementing a Priority Queue.