Amazon Interview Question

Check if the number is Palindrome or not