Check that you can choose the best Collection or Map for ordering, uniqueness and time complexity, avoid ConcurrentModificationException and mutable-key bugs, and sort safely with Comparators.
More lessons in Complete Core Java