What the hell? Why is 1 expected to be a palindrome and -1 is not?

What the hell? Why is 1 expected to be a palindrome and -1 is not?

Stated in the question: Negative numbers are not palindromic.

Click here to start solving coding interview questions