Amazon Interview Question

Explain time complexity in implementing a Priority Queue.