Question d’entretien chez Hi-Rez Studios

Write an algorithm to reverse a string taken in as a parameter