Leetcode Note: Go - A Number After a Double Reversal
A Number After a Double Reversal - LeetCode
https://leetcode.com/problems/a-number-after-a-double-reversal/
- Go 言語で取り組んだメモ
回答
Go simple hehe - A Number After a Double Reversal - LeetCode
https://leetcode.com/problems/a-number-after-a-double-reversal/solutions/2469228/go-simple-hehe/
func isSameAfterReversals(num int) bool {
return num == 0 || num%10 != 0
}