码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
Java [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 i...
分类:编程语言   时间:2015-05-14 18:38:58    阅读次数:131
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 telephon...
分类:其他好文   时间:2015-05-13 06:17:42    阅读次数:157
Java for LeetCode 039 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 repeate...
分类:编程语言   时间:2015-05-11 21:39:39    阅读次数:169
Java for LeetCode 040 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 numb...
分类:编程语言   时间:2015-05-11 21:38:44    阅读次数:118
LeetCode 20 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:"((...
分类:其他好文   时间:2015-05-10 17:15:33    阅读次数:127
LeetCode 17 Letter Combinations of a Phone Number(C,C++,Java,Python)
Problem: Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. ...
分类:编程语言   时间:2015-05-10 14:18:54    阅读次数:159
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: "((()))", "(()())", "(())()", "()((...
分类:其他好文   时间:2015-05-09 10:16:06    阅读次数:102
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 telephone buttons) is given below....
分类:其他好文   时间:2015-05-08 09:29:30    阅读次数:121
【leetcode】Combinations
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], [3,4.....
分类:其他好文   时间:2015-05-08 01:36:44    阅读次数:90
Restore IP Addresses
Title:Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return[...
分类:其他好文   时间:2015-05-07 16:25:11    阅读次数:92
963条   上一页 1 ... 54 55 56 57 58 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!