+ 1
HELP
You have to have a data structure called Item (a struct or a class) that has two fields: an integer quality and a float cost. You have to provide a data structure called an SortedList that stores Items in a sorted way. It has to keep Items sorted by quality, and if qualities are equal, then sorted by cost. This data structure also has to provide a first operation, which deletes and returns the Item with the smallest quality, and of smallest cost of all the Items with that quality. -Can anybody write this code? I need your help...
1 Answer
0
you start it
we will correct it