LeetCode
文章平均质量分 71
Ginsai
这个作者很懒,什么都没留下…
展开
-
【LeetCode】Search in Rotated Sorted Array
题目描述:Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).You are given a target value to search. If...原创 2018-07-29 16:19:13 · 274 阅读 · 0 评论 -
【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 endpoints of line i is at (i, ai) and (i, 0). F...原创 2018-07-29 18:46:40 · 219 阅读 · 0 评论