Wipro interview question

Reverse string in place using two pointers