9. Palindrome Number
Determine whether the integer x is a palindrome.
Contoh 1:
Input: x = 121 Output: true
Contoh 2:
Input: x = -121 Output: false
Batasan:
-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