Question d’entretien chez Tinder

How do you reverse a string?