Question d’entretien chez Standard Chartered Bank

reverse a string without using reverse method