Microsoft Interview Question

Reverse a string but with a twist