Microsoft interview question

Reverse string in place