
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 = 2Output:[[2,4],[3,4],[2,3],[1,2],[1,3],[1,4],]...原创 2019-09-01 01:35:10 · 130 阅读 · 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 · 132 阅读 · 0 评论