Pregunta de entrevista de Morgan Stanley

Reverse string, easy lt question basically.