
Two Points
Peng_maple
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[LeetCode] 15. 3Sum
3Sum Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must not c...原创 2019-03-26 20:55:00 · 148 阅读 · 0 评论 -
[LeetCode] 16. 3Sum Closest
3Sum Closest Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each...原创 2019-03-27 09:46:33 · 163 阅读 · 0 评论 -
[LeetCode] 18. 4Sum
4Sum Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array which gives the sum o...原创 2019-03-27 10:28:36 · 177 阅读 · 0 评论 -
[LeetCode] 42. Trapping Rain Water
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. Example: Input: [0,1,0,2,1,...原创 2019-03-31 21:25:33 · 198 阅读 · 0 评论 -
[leetcode] 76. Minimum Window Substring
Minimum Window Substring Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n). Example: Input: S = “ADOBECODEBANC”, T = “ABC” Ou...原创 2019-07-21 15:09:25 · 145 阅读 · 0 评论