码迷,mamicode.com
首页 >  
搜索关键字:combination theory    ( 1177个结果
PAT 1126 Eulerian Path
In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circuit is an Eulerian path which ...
分类:其他好文   时间:2018-08-20 17:22:11    阅读次数:225
索引组合算法原型
// next_permutation example #include // std::cout #include // std::next_permutation, std::sort int make_combination(int myints[], int start , int end,... ...
分类:编程语言   时间:2018-08-15 20:39:00    阅读次数:168
初学 博弈论 又称对策论 Game Theory
博弈论 真的很有趣 ,回想起 前两天多校一道题的题解 所有不公平的游戏都存在必胜的玩法 与人斗其乐无穷 https://vjudge.net/contest/241983#overview 博弈论专题 一)巴什博奕(Bash Game):有n个石头,Alice和Bob轮流取石头,每次取的石头不能超过 ...
分类:其他好文   时间:2018-08-07 16:16:30    阅读次数:203
377. Combination Sum IV (DP)
1 class Solution { 2 public int combinationSum4(int[] nums, int target) { 3 int[] res = new int[target + 1]; 4 res[0] = 1; 5 for(int i = 1; i 0) { 8 .... ...
分类:其他好文   时间:2018-08-03 01:17:39    阅读次数:200
LeetCode 40. 组合总和 II(Combination Sum II)
题目描述 给定一个数组 candidates 和一个目标数 target ,找出 candidates 中所有可以使数字和为 target 的组合。 candidates 中的每个数字在每个组合中只能使用一次。 说明: 所有数字(包括目标数)都是正整数。 解集不能包含重复的组合。 示例 1: 输入: ...
分类:其他好文   时间:2018-08-01 14:12:52    阅读次数:189
2018HDU多校训练-3-Problem D. Euler Function
链接:http://acm.hdu.edu.cn/showproblem.php?pid=6322 Problem Description In number theory, Euler's totient function φ(n) counts the positive integers up ...
分类:其他好文   时间:2018-07-31 23:26:39    阅读次数:115
余弦相似度和欧氏距离
Basic Vector Space Search Engine Theory LA2600– January2, 2004 - presented by Vidiot Overview: A Vector Space Search Engine uses very simple technique ...
分类:其他好文   时间:2018-07-17 23:16:53    阅读次数:224
combination sum
class Solution { public List<List<Integer>> combinationSum(int[] candidates, int target){ List<List<Integer>> result = new ArrayList<List<Integer>>(); ...
分类:其他好文   时间:2018-07-17 10:36:06    阅读次数:124
40. Combination Sum II
要注意排除重复元素,并且在下一次迭代时,从下一个元素的位置开始 ...
分类:其他好文   时间:2018-07-10 14:39:36    阅读次数:113
Longest Increasing Subsequence
Given an unsorted array of integers, find the length of longest increasing subsequence. Example: Note: There may be more than one LIS combination, it ...
分类:其他好文   时间:2018-07-07 22:19:36    阅读次数:133
1177条   上一页 1 ... 19 20 21 22 23 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!