All Downloads are FREE. Search and download functionalities are using the official Maven repository.

g0001_0100.s0009_palindrome_number.Solution.py Maven / Gradle / Ivy

There is a newer version: 1.8
Show newest version
# #Easy #Math #Udemy_Integers #2024_06_03_Time_43_ms_(91.99%)_Space_16.5_MB_(58.90%)

class Solution:
    def isPalindrome(self, x: int) -> bool:
        return str(x) == str(x)[::-1]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy