Sarah Ball HW1

You need some way to handle duplicates. You can use an SSet with a counter for each item, or else maybe use a priority queue.