码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
254. Factor Combinations
Numbers can be regarded as product of its factors. For example, Write a function that takes an integer n and return all possible combinations of its f ...
分类:其他好文   时间:2016-09-16 12:41:36    阅读次数:146
17. Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telepho ...
分类:其他好文   时间:2016-09-16 10:12:49    阅读次数:141
39. 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. The same repeat ...
分类:其他好文   时间:2016-09-09 18:23:38    阅读次数:139
BackTracking
BackTracking (DFS) 39. Combination Sum Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candi ...
分类:其他好文   时间:2016-09-08 13:00:41    阅读次数:129
LintCode刷题笔记-- BackpackIV
标签: 动态规划 描述: Given an integer array nums with all positive numbers and no duplicates, find the number of possible combinations that add up to a positi ...
分类:其他好文   时间:2016-09-08 00:30:01    阅读次数:149
LeetCode Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1,2,...,n. ...
分类:其他好文   时间:2016-09-07 17:32:55    阅读次数:136
LeetCode-Combination Sum IV
Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:其他好文   时间:2016-09-01 07:04:28    阅读次数:227
leetcode-Combinations-77
输入n和k,求1~n中任选k个数的所有组合 这题是选择不是排列,所以用dfs+回溯 还是那个问题——去重:想象一颗树,每一层相同的元素只搜索一次,下次若同一层这个元素已经做过了就跳过,具体看代码 ...
分类:其他好文   时间:2016-08-31 00:31:31    阅读次数:145
Combination Sum IV -- LeetCode
Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:其他好文   时间:2016-08-28 07:36:20    阅读次数:169
LeetCode40 Combination Sum II
题目: 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 ...
分类:其他好文   时间:2016-08-27 23:20:38    阅读次数:127
963条   上一页 1 ... 27 28 29 30 31 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!