Which of the following statement is not true regarding the priority queue?

Which of the following statement is not true regarding the priority queue?

Answer: C. Deletion is easierAnswer: c Explanation: The answer is c. i.e., deletion is easier. In worst case, the deletion is not easier as we have to traverse to the n elements until the…

  1. A.

    Processes with different priority can be easily handled

  2. B.

    Easy to implement

  3. C.

    Deletion is easier

  4. D.

    None of the above

Attempted by 342 students.

Show answer & explanation

Correct answer: C

Answer: c

Explanation: The answer is c. i.e., deletion is easier. In worst case, the deletion is not easier as we have to traverse to the n elements until the element to be removed is not found.

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…