8 Palindrome Number Description link Solution See code Code O(n) class Solution: def isPalindrome(self, x): """ :type x: int :rtype: bool """ if str(x) == str(x)[::-1]: return True return False