Morgan Stanley Interview Question

Reverse A String