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.

  1. A.

    θ(n)

  2. B.

    O(nlogn)

  3. C.

    θ(n²)

  4. D.

    O(n²/2)

Attempted by 45 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…