1. Computer Science Engineering (CSE)
  2. Data Structures (DS)
  3. Linear Data Structures -Stacks and Queue...
  4. What is the time complexity to insert a ...
Q.

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(n2)
Answer» C. O(n)
View all MCQs in:   Data Structures (DS)

Discussion