摘要: LeetCode 第223届周赛 阅读全文
posted @ 2021-01-10 16:43 vwmin 阅读(43) 评论(0) 推荐(0)
摘要: 228. 汇总区间 分类: 数组 简单题,但是边界条件挺细节,特别是c++,还要额外注意int的边界,不然 nums[i] == nums[i-1] + 1会overflow class Solution { public: vector<string> summaryRanges(vector<i 阅读全文
posted @ 2021-01-10 12:32 vwmin 阅读(47) 评论(0) 推荐(0)