![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode sort
proudmore
这个作者很懒,什么都没留下…
展开
-
Leetcode Merge Intervals
Given a collection of intervals, merge all overlapping intervals.For example, Given [1,3],[2,6],[8,10],[15,18], return [1,6],[8,10],[15,18]. 题中给出的intervals实际上是已经按start排好序的, otherwise,需要implements原创 2015-04-14 08:34:35 · 131 阅读 · 0 评论 -
Leetcode 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 less than 2 elements.You may原创 2015-04-17 04:43:20 · 207 阅读 · 0 评论 -
Leetcode Largest number
Given a list of non negative integers, arrange them such that they form the largest number.For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.Note: The result may be very large,原创 2015-05-07 07:33:29 · 193 阅读 · 0 评论