Yahoo Interview Question

Reverse a input string.