摘要: Problem: https://leetcode.com/problems/kth-largest-element-in-an-array/ Find the kth largest element in an unsorted array. Note that it is the kth lar 阅读全文
posted @ 2016-07-09 17:39 gavinXing 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Problem: https://leetcode.com/problems/count-primes/ Count the number of prime numbers less than a non-negative number, n. Thought: SieveofEratosthene 阅读全文
posted @ 2016-07-09 16:36 gavinXing 阅读(115) 评论(0) 推荐(0) 编辑