GlobalLogic interview question

Reverse a string by any approach.