Suppose that a bag contains Comparable objects. Define the following methods for the class LinkedBag:
• The method getMin that returns the smallest object in a bag
• The method getMax that returns the largest object in a bag
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.