萌新小白的LeetCode之路——9. Palindrome Number(迴文數字83%)

英文題目:Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. 中文題目:確定一個整數是否是迴文。當一個整數向前和向後讀取相同的數據時,它就是一個迴文。 實例: 解題思路: 當數字小於0,則一定不是迴文 當數字大於等於0
相關文章
相關標籤/搜索