8. Sorted Bags
Feel free to use your laptop
You are strongly encourage to work with others
When you get stuck, ask those sitting around you for help
Get used to working together in the labs
Peer teaching and peer learning has been empirically shown to be very effective
8.1. Making a Linked Sorted Bag
An ArraySortedBag implementation
was already implemented, now create
a linked version.
Download the
Bag interface
and add it to the projectDownload the
SortedBag interface
and add it to the projectCreate a
LinkedSortedBag
classComplete the
LinkedSortedBag
class by fully implementing theSortedBag
interfaceCreate a
LinkedSortedBagTest
class to test theLinkedSortedBag
Make use of the existing
ArraySortedBagTest
class as a reference