Question d’entretien chez Meta

They asked me to sort through a string using a hashmap.