题目一: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4] ...
分类:
其他好文 时间:
2017-02-03 15:40:17
阅读次数:
205
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: 题 ...
分类:
编程语言 时间:
2017-01-15 20:32:27
阅读次数:
232
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 ...
分类:
其他好文 时间:
2017-01-05 13:26:23
阅读次数:
162
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. ...
分类:
其他好文 时间:
2017-01-05 07:54:13
阅读次数:
151
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2017-01-05 07:52:24
阅读次数:
117
Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums ...
分类:
其他好文 时间:
2017-01-05 07:52:07
阅读次数:
161
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example,If n = 4 and k = 2, a solution is: 分析: 组合的实现,之前实 ...
分类:
其他好文 时间:
2017-01-05 00:58:49
阅读次数:
145
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:[ "... ...
分类:
其他好文 时间:
2017-01-04 23:30:35
阅读次数:
280
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-12-23 01:06:35
阅读次数:
133
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: c ...
分类:
其他好文 时间:
2016-12-21 23:34:48
阅读次数:
211