摘要: **题目链接:** [剑指 Offer 47. 礼物的最大价值](https://leetcode.cn/problems/li-wu-de-zui-da-jie-zhi-lcof/description/?envType=study-plan-v2&envId=coding-interviews) 阅读全文
posted @ 2023-09-07 18:26 小星code 阅读(13) 评论(0) 推荐(0)
摘要: **题目链接:** [剑指 Offer 46. 把数字翻译成字符串](https://leetcode.cn/problems/ba-shu-zi-fan-yi-cheng-zi-fu-chuan-lcof/description/?envType=study-plan-v2&envId=codin 阅读全文
posted @ 2023-09-07 17:14 小星code 阅读(18) 评论(0) 推荐(0)
摘要: **题目链接:** [剑指Offer 43. 1~n 整数中 1 出现的次数](https://leetcode.cn/problems/1nzheng-shu-zhong-1chu-xian-de-ci-shu-lcof/?envType=study-plan-v2&envId=coding-in 阅读全文
posted @ 2023-09-07 16:46 小星code 阅读(12) 评论(0) 推荐(0)
摘要: **题目链接:** []() **题目描述:** **解法思路:** **代码:** ```golang func findNthDigit(n int) int { // 1、确定是几位数( -10-90-900-9000等) // 2、确定是几位数的第几位数(求第n位数是属于哪一个数的) // 阅读全文
posted @ 2023-09-07 16:43 小星code 阅读(13) 评论(0) 推荐(0)
摘要: **题目链接:** [剑指 Offer 45. 把数组排成最小的数](https://leetcode.cn/problems/ba-shu-zu-pai-cheng-zui-xiao-de-shu-lcof/description/?envType=study-plan-v2&envId=codi 阅读全文
posted @ 2023-09-07 16:37 小星code 阅读(23) 评论(0) 推荐(0)
摘要: **题目链接:** [剑指 Offer 42. 连续子数组的最大和](https://leetcode.cn/problems/lian-xu-zi-shu-zu-de-zui-da-he-lcof/description/?envType=study-plan-v2&envId=coding-in 阅读全文
posted @ 2023-09-07 14:30 小星code 阅读(16) 评论(0) 推荐(0)