Amazon interview question

Explain time complexity in implementing a Priority Queue.