Pergunta de entrevista da empresa Vital Labs

Write a program to test whether a given number is palindrome without using strings.