
leetcode
我去图书馆了
这个作者很懒,什么都没留下…
展开
-
leetcode【15】3sum
【原文】:[LeetCode] 3Sum 三数之和 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:Elements in a ...原创 2018-04-16 22:57:58 · 205 阅读 · 0 评论 -
leetcode【11】Container With Most Water
【原文】:[LeetCode] Container With Most Water 装最多水的容器Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoi...原创 2018-04-11 17:17:28 · 208 阅读 · 0 评论