GlobalLogic Interview Question

Reverse a string by any approach.