![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode刷题
文章平均质量分 92
snowKnowEverything
这个作者很懒,什么都没留下…
展开
-
LeetCode:77. Combinations
【Leecode刷题】77题. Combinations 题目: Given two integers n and k, return all possible combinations of k numbers out of 1 … n. 测试样例: Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...原创 2019-09-01 01:35:10 · 82 阅读 · 0 评论 -
LeetCode: 80. Remove Duplicates from Sorted Array II
LeetCode刷题:80. Remove Duplicates from Sorted Array II 题目描述: Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new length. Do not allo...原创 2019-09-03 19:13:23 · 91 阅读 · 0 评论