These questions are intended as a self-test for readers. Answers may be found in Appendix C.
Suppose you based a priority queue class on the OrdArray class in the orderedArray.java program (Listing 2.4) in Chapter 2, “Arrays.” This will buy you binary search capability. If you wanted the best performance for your priority queue, would you need to modify the OrdArray class?
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.