leetcode-heap
文章平均质量分 61
proudmore
这个作者很懒,什么都没留下…
展开
-
Leetcode Skyline
A city’s skyline is the outer contour of the silhouette formed by all the buildings in that city when viewed from a distance. Now suppose you are given the locations and height of all the buildings as原创 2015-05-29 09:40:01 · 234 阅读 · 0 评论 -
Leetcode Kth Largetst element
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For example, Given [3,2,1,5,6,4] and k = 2, return 5.Note:原创 2015-06-02 10:55:16 · 201 阅读 · 0 评论