Cognizant Interview Question

Palindrome, Reverse the number