摘要: 题目:There are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course 0 you have to f... 阅读全文
posted @ 2015-06-02 20:54 可爱的波儿胖 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array ofnpositive integers and a positive integers, find the minimal length of a subarray of which the sum ≥s. If there isn't one, return ... 阅读全文
posted @ 2015-06-02 10:46 可爱的波儿胖 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 题目:Given two stringssandt, determine if they are isomorphic.Two strings are isomorphic if the characters inscan be replaced to gett.All occurrences of... 阅读全文
posted @ 2015-06-02 10:23 可爱的波儿胖 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 题目:Implement a trie withinsert,search, andstartsWithmethods.// Your Trie object will be instantiated and called as such:// Trie trie = new Trie();// t... 阅读全文
posted @ 2015-06-02 10:04 可爱的波儿胖 阅读(548) 评论(0) 推荐(0) 编辑

友情链接 : CodeForge源码分享