Infogain Interview Question

Code reversing a string?