Amazon Interview Question

How to check whether an integer is palindrome or not.