Question
What is a common use of Priority Queue?
Select an option. Your answer will be checked instantly.
Correct Answer: B. event simulation and shortest-path algorithms
Explanation:
Priority Queue is commonly used for event simulation and shortest-path algorithms.
Its design supports this task efficiently or naturally.
Leave a Reply