If a priority queue of n elements is represented in an unordered linear list,…
DSSSB TGT/PGT · 2022 · PGT Computer Science (Female) · post code 30/22 · 21 Nov 2022 · Shift 2 · Section II: subject
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 45 students.
Sign up free to check your answer
Sign up freeLoading lesson…