![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ByteDance
Boston_Kimisong
这个作者很懒,什么都没留下…
展开
-
LeetCode 11. Container With Most Water (Medium)
Description: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...原创 2020-02-18 17:05:42 · 124 阅读 · 0 评论 -
LeetCode 42. Trapping Rain Water (Hard)
Description: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.The above elevation map is represen...原创 2020-02-14 12:48:29 · 94 阅读 · 0 评论 -
LeetCode 777. Swap Adjacent in LR String (Medium)
Description:In a string composed of ‘L’, ‘R’, and ‘X’ characters, like “RXXLRXRXL”, a move consists of either replacing one occurrence of “XL” with “LX”, or replacing one occurrence of “RX” with “XR”...转载 2020-02-12 10:12:27 · 120 阅读 · 0 评论 -
LeetCode 1057. Campus Bikes (Medium)
DescriptionOn a campus represented as a 2D grid, there are N workers and M bikes, with N <= M. Each worker and bike is a 2D coordinate on this grid.Our goal is to assign a bike to each worker. Am...原创 2020-02-10 05:05:31 · 312 阅读 · 0 评论 -
LeetCode 33. Search in Rotated Sorted Array (Medium)
Description: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...原创 2020-02-08 17:56:28 · 165 阅读 · 0 评论