Microsoft Interview Question

Reverse string plus some follow ups