摘要: 题目:【https://leetcode.cn/problems/minimum-size-subarray-sum/solutions/305704/chang-du-zui-xiao-de-zi-shu-zu-by-leetcode-solutio/?envType=study-plan-v2& 阅读全文
posted @ 2025-05-12 13:38 J&YANG 阅读(7) 评论(0) 推荐(0)
摘要: 记录一下自己思路,排除直接api的做法,类似双指针吧,将头和尾都确定出来,然后加入到结果中,以此类推。 题目:【https://leetcode.cn/problems/reverse-words-in-a-string/description/?envType=study-plan-v2&envI 阅读全文
posted @ 2025-05-12 10:34 J&YANG 阅读(2) 评论(0) 推荐(0)