Domanda di colloquio di Amazon

How would you reverse a string without using buffer variables?