American Express Interview Question

Reverse a string