码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
[leetcode]Generate Parentheses
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2015-01-22 21:41:27    阅读次数:136
LeetCode:Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given "25525511135",return ["25...
分类:其他好文   时间:2015-01-22 15:21:34    阅读次数:108
Combination Sum II
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:其他好文   时间:2015-01-22 13:06:40    阅读次数:206
[LeetCode][Python]17: Letter Combinations of a Phone Number
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'17: Letter Combinations of a Phone Numberhttps://oj.leetcode.com/problems/letter-combinati...
分类:编程语言   时间:2015-01-22 00:04:47    阅读次数:308
leetcode 22. Generate Parentheses
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2015-01-21 23:53:23    阅读次数:125
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2015-01-21 19:52:01    阅读次数:204
【leetcode】Combination Sum (middle)
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2015-01-21 14:53:00    阅读次数:110
【leetcode】Combinations (middle)
Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3],...
分类:其他好文   时间:2015-01-20 23:39:07    阅读次数:255
Letter Combinations of a Phone Number
class Solution {public: vector result; vector letterCombinations(string digits) { string buf[] = { "abc","def","ghi","jkl","mno","pqrs","tuv...
分类:其他好文   时间:2015-01-17 11:08:41    阅读次数:195
Combination Sum II -- leetcode
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 number in C may only be used once in the combina...
分类:其他好文   时间:2015-01-16 16:47:18    阅读次数:152
963条   上一页 1 ... 68 69 70 71 72 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!