Domanda di colloquio di Accenture

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