Pergunta de entrevista da empresa Microsoft

Write a program that, given an integer, checks if it is a palindrome