Question d’entretien chez Bosch Power Tools

How would you solve an palindrom exercise?