Aristocrat interview question

How to reverse a string without using extra buffer