摘要:
Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k num 阅读全文
posted @ 2018-07-05 09:20
回到明天
阅读(102)
评论(0)
推荐(0)
摘要:
Given a non-empty array of integers, return the k most frequent elements. For example,Given [1,1,1,2,2,3] and k = 2, return [1,2]. Note: You may assum 阅读全文
posted @ 2018-07-05 04:53
回到明天
阅读(92)
评论(0)
推荐(0)
摘要:
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. Example 阅读全文
posted @ 2018-07-05 04:08
回到明天
阅读(92)
评论(0)
推荐(0)
浙公网安备 33010602011771号