NVIDIA interview question

Palindrome