These questions are intended as a self-test for readers. Answers may be found in Appendix C.
A priority queue might be used to hold
a. passengers to be picked up by a taxi from different parts of the city.
b. keystrokes made at a computer keyboard.
c. squares on a chessboard in a game program.
d. planets in a solar system simulation.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.