Determine whether an integer is a palindrome. Do this without extra space.

negative integer is not palindrome, reverse the entire integer may overflow