9-palindrome-number
回文数字
这题比较简单,直接转成字符串然后判断对应回文位置的正确即可
go 解法
1 | func isPalindrome(x int) bool { |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment
这题比较简单,直接转成字符串然后判断对应回文位置的正确即可
1 | func isPalindrome(x int) bool { |