摘要:
Find thekth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.For exampl... 阅读全文
posted @ 2015-05-27 08:27
世界到处都是小星星
阅读(172)
评论(0)
推荐(0)
摘要:
完全抄答案class TrieNode { // Initialize your data structure here. // ref http://www.programcreek.com/2014/05/leetcode-implement-trie-prefix-tree-jav... 阅读全文
posted @ 2015-05-27 06:38
世界到处都是小星星
阅读(223)
评论(0)
推荐(0)
摘要:
IYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping y... 阅读全文
posted @ 2015-05-27 04:43
世界到处都是小星星
阅读(168)
评论(0)
推荐(0)
摘要:
dfs 参考I II, 切不要K sumFind all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combi... 阅读全文
posted @ 2015-05-27 03:50
世界到处都是小星星
阅读(197)
评论(0)
推荐(0)
摘要:
http://www.datasciencecentral.com/profiles/blogs/10-python-machine-learning-projects-on-github 阅读全文
posted @ 2015-05-26 10:55
世界到处都是小星星
阅读(153)
评论(0)
推荐(0)
摘要:
Real-time interactive movie recommendationhttp://fastml.com/real-time-interactive-movie-recommendation/ 阅读全文
posted @ 2015-05-26 10:54
世界到处都是小星星
阅读(117)
评论(0)
推荐(0)
摘要:
refhttp://blog.jobbole.com/84876/ 阅读全文
posted @ 2015-05-26 10:53
世界到处都是小星星
阅读(108)
评论(0)
推荐(0)
摘要:
public class Solution { public boolean containsDuplicate(int[] nums) { if(nums==null||nums.length==0) return false; Set s = new HashS... 阅读全文
posted @ 2015-05-26 05:29
世界到处都是小星星
阅读(117)
评论(0)
推荐(0)
摘要:
public class Solution { public int[] findOrder(int numCourses, int[][] prerequisites) { int[] re =new int[numCourses] ; int can = 0;... 阅读全文
posted @ 2015-05-26 05:17
世界到处都是小星星
阅读(173)
评论(0)
推荐(0)
摘要:
比较难的一道题,但是还是能看懂public class Solution { public List findRepeatedDnaSequences(String s) { // ref http://blog.csdn.net/haiyi727/article/details... 阅读全文
posted @ 2015-05-22 05:49
世界到处都是小星星
阅读(143)
评论(0)
推荐(0)
浙公网安备 33010602011771号