码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
LeetCode 377. 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. ...
分类:其他好文   时间:2018-12-03 22:58:00    阅读次数:245
[Leetcode 40]组合数和II Combination Sum II
【题目】 Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate ...
分类:其他好文   时间:2018-12-01 00:13:02    阅读次数:187
#Leetcode# 77. Combinations
https://leetcode.com/problems/combinations/ Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: 代码: 看 F ...
分类:其他好文   时间:2018-11-25 17:43:23    阅读次数:142
17. Letter Combinations of a Phone Number C++回溯法
简单的回溯法! ...
分类:编程语言   时间:2018-11-20 01:23:18    阅读次数:200
[LeetCode] 40. Combination Sum II
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb ...
分类:其他好文   时间:2018-11-11 20:17:13    阅读次数:117
77. Combinations
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. Example: Input: n = 4, k = 2 Output: [ [2,4], [3,4], [2,3], ...
分类:其他好文   时间:2018-11-05 16:22:34    阅读次数:130
【LeetCode】回溯法 backtracking(共39题)
【10】Regular Expression Matching 【17】Letter Combinations of a Phone Number 【22】Generate Parentheses 【37】Sudoku Solver 【39】Combination Sum 【40】Combinati ...
分类:其他好文   时间:2018-10-31 23:21:30    阅读次数:168
LeetCode 22. Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: [ ...
分类:其他好文   时间:2018-10-30 22:50:21    阅读次数:179
LeetCode 电话号码的字母组合
题目 (https://leetcode cn.com/problems/letter combinations of a phone number/) 问题分析 刚拿到这道题的时候没什么思路,只能顺着逻辑想。每个数字对应着三个或者四个字母,也就是说每个位置我们会有三个或者四个选择。那么似乎我们可以 ...
分类:其他好文   时间:2018-10-20 00:53:33    阅读次数:237
40. Combination Sum II
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb ...
分类:其他好文   时间:2018-10-15 23:09:27    阅读次数:168
963条   上一页 1 ... 9 10 11 12 13 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!