Bosch Power Tools interview question

How would you solve an palindrom exercise?