Motorola Solutions interview question

Method to remove duplicates from a Map.