'''  Initial brute force solution:
        Runtime = 40ms, faster than 95.69%
        Memory = 12.8MB, less than 50.81%
'''

class Solution(object):
    def isPalindrome(self, x):
        strX = str(x)
        strInvertedX = strX[::-1]
        return (strInvertedX == strX)
3b673dfafbee9c6a8fa1c176228d4e4cffd04330
<mask token>

<mask token>


class Solution(object):
    <mask token>

<mask token>


class Solution(object):

    def isPalindrome(self, x):
        strX = str(x)
        strInvertedX = strX[::-1]
        return strInvertedX == strX

'''  Initial brute force solution:
        Runtime = 40ms, faster than 95.69%
        Memory = 12.8MB, less than 50.81%
'''

class Solution(object):
    def isPalindrome(self, x):
        strX = str(x)
        strInvertedX = strX[::-1]
        return (strInvertedX == strX)