From Priority Queue
... this implementation provides O (log (n)) time for the enqueing and dequeing methods ...
So you can only assume n log(n) .
However - obviously - this is just what you can assume. Depending on the specific implementation you plan to use, you may find some tricks that can improve the situation for you.
source share