Goldman Sachs Interview Question

Reverse a string