Question d’entretien chez Unthinkable

Reverse a string can be done using set or hashmap