Zuora interview question

Reverse string (in-place)