9. Palindrome Number
Determine whether the integer x is a palindrome.
Example 1:
Input: x = 121 Output: true
Example 2:
Input: x = -121 Output: false
Constraints:
-2^31 <= x <= 2^31 - 1
Determine whether the integer x is a palindrome.
Input: x = 121 Output: true
Input: x = -121 Output: false
-2^31 <= x <= 2^31 - 1