leetcode9-會文數

方法一:轉化爲字符串,然後反轉  class Solution: def isPalindrome(self, x): """ :type x: int :rtype: bool """ if x<0: return False else: x=s
相關文章
相關標籤/搜索