Pergunta de entrevista da empresa PayPal

How to find a palindrome in an integer without converting to string