找出所有可能的 k 个数,使其相加之和为 n,只允许使用数字1-9,并且每一种组合中的数字是唯一的。示例 1:输入: k = 3, n = 7输出:[[1,2,4]]示例 2:输入: k = 3, n = 9输出:[[1,2,6], [1,3,5], [2,3,4]]详见:https://leetc ...
分类:
其他好文 时间:
2018-04-09 00:26:21
阅读次数:
290
http://acm.timus.ru/problem.aspx?space=1&num=1929 combination problems. 排列组合问题。 According to the problems, it is assumed that Holden is chosen and the ...
分类:
其他好文 时间:
2018-04-07 12:53:37
阅读次数:
210
Prim算法 1.概览 普里姆算法(Prim算法)。图论中的一种算法,可在加权连通图里搜索最小生成树。意即由此算法搜索到的边子集所构成的树中。不但包括了连通图里的全部顶点(英语:Vertex (graph theory)),且其全部边的权值之和亦为最小。该算法于1930年由捷克数学家沃伊捷赫·亚尔尼 ...
分类:
编程语言 时间:
2018-04-01 19:56:25
阅读次数:
180
Sigma Function Sigma function is an interesting function in Number Theory. It is denoted by the Greek letter Sigma (σ). This function actually denotes ...
分类:
其他好文 时间:
2018-03-20 23:58:48
阅读次数:
484
---title: 博弈论 斯坦福game theory stanford week 4-1tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 4-1 ## 最后通牒式议价 他的形式是这样的... ...
分类:
其他好文 时间:
2018-03-14 14:53:38
阅读次数:
184
---title: 博弈论 斯坦福game theory stanford week 4-0tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 4-0 ## perfect informat... ...
分类:
其他好文 时间:
2018-03-13 22:49:47
阅读次数:
237
A type of read operation used for UPDATE statements, that is a combination of read committed and consistent read. When an UPDATE statement examines a ...
分类:
数据库 时间:
2018-03-12 21:20:07
阅读次数:
283
---title: 博弈论 斯坦福game theory stanford week 3-1tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 3-1 ## 最大最小策略 这是一种相对比较保... ...
分类:
其他好文 时间:
2018-03-06 19:10:19
阅读次数:
145
---title: 博弈论 斯坦福game theory stanford week 3-1tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 3-1 ## 习题 ### 第 1 个问题 !... ...
分类:
其他好文 时间:
2018-03-06 19:09:01
阅读次数:
136
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 ...
分类:
其他好文 时间:
2018-03-04 23:57:46
阅读次数:
304