leetcode-2843
题目
https://leetcode.cn/problems/count-symmetric-integers/?envType=daily-question&envId=2025-04-12
分析
- 意思很直接,统计范围内的对称数
- 对称数 指高n位和低n位的和相等
- 故奇数长度的数直接跳过,剩下的按位遍历即可,int转string转[]rune
源代码
https://github.com/Norton-Lin/algorithm/blob/master/go/src/leetcode_2843/2025_04_11_2843.go