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.

  1. A.

    θ(n)

  2. B.

    O(nlogn)

  3. C.

    θ(n²)

  4. D.

    O(n²/2)

Attempted by 1164 students.

Sign up free to check your answer

Sign up free

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…