(Changinga PriorityQueue's Sort Order)The output of Fig. 3 shows that Priority-Queue orders Double elements in ascending order. Rewrite Fig. 3 so that it orders Double elements in descending order (i.e., 9.8 should be the highest-priority element rather than 3.2).
Fig. 3 PriorityQueue test program.

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.