
LeetCode
呀烟火不一样的烟火
这个作者很懒,什么都没留下…
展开
-
LeetCode 164. Maximum Gap
164. Maximum Gap题目描述: Given an unsorted array, find the maximum difference between the successive elements in its sorted form. Try to solve it in linear time/space. Return 0 if the array contains les原创 2017-06-14 20:47:53 · 321 阅读 · 0 评论 -
LeetCode 41.First Missing Positive
41. First Missing Positive题目描述: Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in原创 2017-06-13 21:22:49 · 312 阅读 · 0 评论