Microsoft interview question

Palindrome