Question d’entretien chez Mixpanel

Reverse a string using the code of your choice. Algorithm exercise.