Question d’entretien chez Invesco

write a program to reverse a string