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

Vy Bùi

New member
What is the time complexity to insert a node based on position in a priority queue?
A. O(nlogn)
B. O(logn)
C. O(n)
D. O(n$^{2}$)
 

Tìm kiếm

Back
Top