上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页
摘要: Add and Search Word - Data structure designDesign a data structure that supports the following two operations:void addWord(word)bool search(word)searc... 阅读全文
posted @ 2015-07-02 10:32 陆草纯 阅读(573) 评论(0) 推荐(0) 编辑
摘要: Course Schedule IIThere are a total ofncourses you have to take, labeled from0ton - 1.Some courses may have prerequisites, for example to take course ... 阅读全文
posted @ 2015-07-01 09:31 陆草纯 阅读(1137) 评论(0) 推荐(0) 编辑
摘要: 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 陆草纯 阅读(284) 评论(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 陆草纯 阅读(279) 评论(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 陆草纯 阅读(374) 评论(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 陆草纯 阅读(214) 评论(0) 推荐(1) 编辑
摘要: Compare Version NumbersCompare two version numbersversion1andversion2.Ifversion1>version2return 1, ifversion1 num2) return 1; ... 阅读全文
posted @ 2015-06-17 10:38 陆草纯 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 在matlab中编译C++程序,首先要配置编译器>> mex -setupPlease choose your compiler for building external interface (MEX) files:Would you like mex to locate installed co... 阅读全文
posted @ 2015-05-31 11:12 陆草纯 阅读(2430) 评论(1) 推荐(0) 编辑
摘要: Exercise:Softmax Regression习题的链接:Exercise:Softmax RegressionsoftmaxCost.mfunction [cost, grad] = softmaxCost(theta, numClasses, inputSize, lambda, dat... 阅读全文
posted @ 2015-05-08 21:24 陆草纯 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Reverse Linked ListReverse a singly linked list.click to show more hints.Hint:A linked list can be reversed either iteratively or recursively. Could y... 阅读全文
posted @ 2015-05-06 19:35 陆草纯 阅读(3145) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 27 下一页