Anonymous Content interview question

Write a program for palindrome number