06 2015 档案

摘要:Minimum Size Subarray SumGiven an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If th... 阅读全文
posted @ 2015-06-30 10:11 陆草纯 阅读(285) 评论(0) 推荐(0) 编辑
摘要:Implement Trie (Prefix Tree)Implement a trie withinsert,search, andstartsWithmethods.Note:You may assume that all inputs are consist of lowercase lett... 阅读全文
posted @ 2015-06-29 18:24 陆草纯 阅读(280) 评论(0) 推荐(0) 编辑
摘要:Course ScheduleThere are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 y... 阅读全文
posted @ 2015-06-25 11:04 陆草纯 阅读(377) 评论(0) 推荐(0) 编辑
摘要:Count PrimesDescription:Count the number of prime numbers less than a non-negative number,n.Credits:Special thanks to@mithmattfor adding this problem ... 阅读全文
posted @ 2015-06-24 18:46 陆草纯 阅读(217) 评论(0) 推荐(1) 编辑
摘要:Compare Version NumbersCompare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1 num2) return 1; ... 阅读全文
posted @ 2015-06-17 10:38 陆草纯 阅读(260) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示