Intel Corporation Interview Question

Reverse a string and return it.