码迷,mamicode.com
首页 >  
搜索关键字:letter combinations    ( 2407个结果
LeetCode Combination Sum
因为实验室项目好久没刷题了。从今天开始重新开始刷题。 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers...
分类:其他好文   时间:2014-07-16 23:04:15    阅读次数:166
【leetcode刷题笔记】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...
分类:其他好文   时间:2014-07-16 20:50:06    阅读次数:137
LeetCode: 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 num...
分类:其他好文   时间:2014-07-16 19:53:49    阅读次数:238
Generate Parentheses java实现
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:编程语言   时间:2014-07-12 13:02:18    阅读次数:248
[LeetCode] Combination Sum II
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:其他好文   时间:2014-07-11 08:41:13    阅读次数:156
程序员技术练级攻略
伯乐人才网6月9日发表了《写给即将入行的程序员的一封信》,翻译自《An open letter to those who want to start programming》,我的朋友(他在本站的id是Mailper)告诉我,他希望在酷壳上看到一篇更具操作性的文章。因为他也是喜欢编程和技术的家伙,于是,我让他把他的一些学习Python和Web编程的一些点滴总结一下。于是他给我发来了一些他的心得...
分类:其他好文   时间:2014-07-08 16:20:52    阅读次数:453
给出一个set的字符和一个正数k,求所有由这个set能组成长度为k的字符串集合 print-all-combinations-of-given-length
// 给出一个set的字符和一个正数k,求所有由这个set能组成长度为k的字符串集合 /* Input:  set[] = {'a', 'b'}, k = 3 Output: aaa aab aba abb baa bab bba bbb Input:  set[] = {'a', 'b', 'c', 'd'}, k = 1 Output: a b c dpackage recursion...
分类:其他好文   时间:2014-07-06 11:17:20    阅读次数:174
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...
分类:其他好文   时间:2014-07-05 22:10:53    阅读次数:226
[leetcode] Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations.
分类:其他好文   时间:2014-07-02 14:45:41    阅读次数:220
Leetcode:Combinations 生成组合
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:[ ...
分类:其他好文   时间:2014-07-01 12:58:20    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!