FIS interview question

write code to demonstrate palindrome