摘要: 描述 Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, 阅读全文
posted @ 2017-06-09 15:06 larryking 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 描述 In LLP world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo's attacking asc 阅读全文
posted @ 2017-06-09 15:05 larryking 阅读(195) 评论(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. For e 阅读全文
posted @ 2017-06-09 15:04 larryking 阅读(143) 评论(0) 推荐(0) 编辑