// DP 从 1-N 不重复取数 加到sum 上 第一个超过target赢 先手可以赢吗? 开始想错了,以为和climbing stairs和combination sum iv一个类型,是一个dfs 代码: ...
翻译自Euclidean Distance Matrices: Essential theory, algorithms, and applications EDMs是点之间的平均距离矩阵。该文的目标是介绍EMD在信号处理领域的应用,展示EDM如何被用来设计算法--对距离数据进行修复和去噪。同时,介 ...
分类:
移动开发 时间:
2016-10-08 13:40:26
阅读次数:
273
Combination Sum Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. ...
分类:
其他好文 时间:
2016-10-04 09:52:29
阅读次数:
215
http://www.html5rocks.com/en/tutorials/internals/howbrowserswork/#Parser_Lexer_combination Grammars Parsing is based on the syntax rules the document ...
分类:
Web程序 时间:
2016-10-02 00:43:21
阅读次数:
133
(学了大半个月,赶紧把脑袋里装的东西倒一点点出来,不然就忘记了。看别人的PPT都是顺理成章、一气呵成,看我能讲出多少东西) 1队列理论 队列在生活中随处可见,例如排队买票,排队打饭,排队做地铁等等。那将诸如此类的队列抽象一下,可归纳为一下3要术:排队能容纳的总人数(例如食堂空间只有那么大,最长的队伍 ...
分类:
Web程序 时间:
2016-10-02 00:32:18
阅读次数:
274
是看到discuss里面的解法,因为用backtracking实在太多可能性了 思路是和https://leetcode.com/problems/climbing-stairs/ 在climbing stairs里面假如有n个台阶,每次可以跨一个台阶或者两个台阶,那么它的状态转移方程是res[i] ...
分类:
其他好文 时间:
2016-09-30 09:47:26
阅读次数:
142
本节课主要讲在机器学习中,机器如何做到举一反三。 上图可以得出结论,当N超过k的时候,mH的数量会越来越少。对未来成长函数的样子加了一个限制。 mH的数量其实是有一个上限的,这个上限就是关于N的一个多项式。引出定义bonding function B(N,k) 已知上限函数的break point是 ...
分类:
其他好文 时间:
2016-09-27 14:46:12
阅读次数:
241
Sparse Graph Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description In graph theory, the complement of ...
分类:
其他好文 时间:
2016-09-26 21:40:09
阅读次数:
275
You can load resource based on the url using the a combination of ActivatedRouteand Angular 2’s Http service. Since the params and Http are both strea ...
分类:
其他好文 时间:
2016-09-26 17:53:06
阅读次数:
161