Pregunta de entrevista de Hi-Rez Studios

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