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 easier — 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…
- A.
Processes with different priority can be easily handled
- B.
Easy to implement
- C.
Deletion is easier
- 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.
Loading lesson…