摘要: 今天LeetCode的时候暴力求解233 问题: 给定一个整数 n,计算所有小于等于 n 的非负数中数字1出现的个数。 例如: 给定 n = 13, 返回 6,因为数字1出现在下数中出现:1,10,11,12,13。 代码: 错误: maximum recursion depth exceeded 阅读全文
posted @ 2018-04-29 22:53 致林 阅读(2119) 评论(0) 推荐(0)