u-blox interview question

Write a program for palindrome