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 interfaceand add it to the projectDownload the
SortedBag interfaceand add it to the projectCreate a
LinkedSortedBagclassComplete the
LinkedSortedBagclass by fully implementing theSortedBaginterfaceCreate a
LinkedSortedBagTestclass to test theLinkedSortedBagMake use of the existing
ArraySortedBagTestclass as a reference