码迷,mamicode.com
首页 >  
搜索关键字:letter combinations    ( 2407个结果
Leetcode dfs Combination Sum
Combination Sum  Total Accepted: 17319 Total Submissions: 65259My Submissions Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the ca...
分类:其他好文   时间:2014-09-01 12:42:03    阅读次数:259
Leetcode dfs Combinations
Combinations  Total Accepted: 18327 Total Submissions: 60479My Submissions Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4...
分类:其他好文   时间:2014-09-01 01:40:32    阅读次数:204
LeetCode: Restore IP Addresses
LeetCode: Restore IP AddressesGiven a string containing only digits, restore it by returning all possible valid IP address combinations. For example:G...
分类:其他好文   时间:2014-08-31 22:48:42    阅读次数:314
STL中简单算法实例sort()、next_permutation()
STL中简单算法实例sort()、next_permutation()#include<iostream> #include<string> #include<algorithm> usingnamespacestd; intmain() { stringletters; cout<<"Enterthelettersgrouping(quittoquit):"; while(cin>>letters&&letter..
分类:其他好文   时间:2014-08-29 03:03:17    阅读次数:242
[LeetCode] Combination Sum (bfs)
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...
分类:其他好文   时间:2014-08-24 23:34:33    阅读次数:259
[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 numb...
分类:其他好文   时间:2014-08-24 23:29:33    阅读次数:176
jQuery 序列化表单
F Search $(function () { $('#letter-f form').submit(function (event) { event.preventDefault(); $.get('f.php...
分类:Web程序   时间:2014-08-23 22:50:31    阅读次数:230
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-08-23 21:37:41    阅读次数:199
[LeetCode] Letter Combinations of a Phone Number(bfs)
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-08-23 18:53:01    阅读次数:180
compute Binomial Coefficient or combinations with dynamic programming
The ProblemWrite a function that takes two parameters n and k and returns the value of Binomial Coefficient C(n, k).For example, your function should ...
分类:其他好文   时间:2014-08-23 12:41:20    阅读次数:169
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!