Question d’entretien chez GlobalLogic

Write a function to reverse the string?