Question d’entretien chez TISCO Bank Public

Write a function to reverse a string.