Question d’entretien chez Capgemini

write a program in any language to reverse a string or a list.