Page 1 of 1

What is the time complexity to insert a node based on key in a priority queue?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) O(nlogn)
b) O(logn)
c) O(n)
d) O(n2)