Domanda di colloquio di Morgan Stanley

Reverse string, easy lt question basically.