Question d’entretien chez EY

Write a program to reverse a string or a number?