You are
on
your honor to make a good-faith effort to solve problems on your
own, or with your partners, before using these hints. This typically
means
at least 10 minutes of brainstorming, attacking the problem
with pencil and paper, drawing small diagrams, and so on. The hints are
provided with the intention of reducing frustration when course staff
support is not available.
The hints are written in white text on a white background. On most browsers
you make the hint visible by moving your mouse over it. If that
doesn't work, click your mouse on the screen and drag it over the box: the
text will become visible. Try it out on the apparently-empty box below:
If you can read these words, you are doing it correctly.
Question 6
Hint 1:
The provided mlist-find-best procedure is like
list-find-best but works on mutable lists. To find the highest
bid, you could use mlist-find-best on the entries of the bid
table, using the bid amount for selecting the best bid.
Hint 2:
Don't forget to deal with the case when there are no bids on the item.
You might want to start by checking the list of entries is
non-empty.