Question d’entretien chez Aristocrat

How to reverse a string without using extra buffer