Frage im Vorstellungsgespräch bei Accenture

they ask one programming question during interview like reverse a string without using string buffer