Spurs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页

2017年9月25日

摘要: 向量化地实现 Logistic Regression 算法. 阅读全文
posted @ 2017-09-25 08:37 英雄与侠义的化身 阅读(281) 评论(0) 推荐(0) 编辑

2017年9月16日

摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest product. For example, given the array , the contig 阅读全文
posted @ 2017-09-16 12:38 英雄与侠义的化身 阅读(132) 评论(0) 推荐(0) 编辑

2017年9月13日

摘要: Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be 阅读全文
posted @ 2017-09-13 11:10 英雄与侠义的化身 阅读(76) 评论(0) 推荐(0) 编辑

2017年9月12日

摘要: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: 做了好几个这种题了,就是 阅读全文
posted @ 2017-09-12 16:55 英雄与侠义的化身 阅读(116) 评论(0) 推荐(0) 编辑

摘要: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, have the following unique permutati 阅读全文
posted @ 2017-09-12 12:04 英雄与侠义的化身 阅读(167) 评论(0) 推荐(0) 编辑

2017年9月11日

摘要: vector 判断是否存在某元素: 阅读全文
posted @ 2017-09-11 16:50 英雄与侠义的化身 阅读(165) 评论(0) 推荐(0) 编辑

摘要: Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: 做了几个 backtrack 类的题目了, 阅读全文
posted @ 2017-09-11 16:24 英雄与侠义的化身 阅读(144) 评论(0) 推荐(0) 编辑

摘要: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each num 阅读全文
posted @ 2017-09-11 11:58 英雄与侠义的化身 阅读(289) 评论(0) 推荐(0) 编辑

摘要: Given a set of candidate numbers (C) ( without duplicates ) and a target number (T), find all unique combinations in C where the candidate numbers sum 阅读全文
posted @ 2017-09-11 09:37 英雄与侠义的化身 阅读(121) 评论(0) 推荐(0) 编辑

摘要: vector 弹出末尾元素 v.pop_back(); 阅读全文
posted @ 2017-09-11 09:11 英雄与侠义的化身 阅读(724) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页