If a priority queue of n elements is represented in an unordered linear list,…
DSSSB 2022
If a priority queue of n elements is represented in an unordered linear list, a deletion from the queue requires ____ time.
- A.
θ(n)
- B.
O(nlogn)
- C.
θ(n²)
- D.
O(n²/2)
Attempted by 1164 students.
Sign up free to check your answer
Sign up freeLoading lesson…

