![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
潭溪熹子
这个作者很懒,什么都没留下…
展开
-
combination-sum-ii
题目描述 Given a collection of candidate numbers ( C ) and a target number ( T ), find all unique combinations in C where the candidate numbers sums to T . Each number in C may only be used once...原创 2018-12-10 14:42:59 · 110 阅读 · 0 评论 -
first-missing-positive
题目描述 Given an unsorted integer array, find the first missing positive integer. For example, Given[1,2,0]return3, and[3,4,-1,1]return2. Your algorithm should run in O(n) time and uses constant sp...原创 2018-12-10 15:44:18 · 127 阅读 · 0 评论 -
trapping-rain-water
题目描述 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example, Given[0,1,0,2,1,0,1,3,2,1,...原创 2018-12-10 16:19:46 · 146 阅读 · 0 评论