IBM Interview Question

Longest length palindrome in a given number