OpenText interview question

Write and explain the palindrome number program