码迷,mamicode.com
首页 >  
搜索关键字:letter combinations    ( 2407个结果
Java 实现享元(Flyweight)模式
/** * 字母 * @author stone * */ public class Letter { private String name; public Letter(String name) { this.name = name; } public String getName() { return name; } }/** * 一个产生字母对象的 享元工...
分类:编程语言   时间:2014-10-10 14:46:14    阅读次数:182
UVA 11081 Strings(DP)
Given 3 strings of only lowercase letter you have to count the number of ways you can construct the third string by combining two subsequences from the first two strings.             After deleting ...
分类:其他好文   时间:2014-10-10 02:06:23    阅读次数:174
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 ["255.255.11.135", "255.255.111.35"]. (Order ...
分类:其他好文   时间:2014-10-08 10:45:25    阅读次数:195
Combinations
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],...
分类:其他好文   时间:2014-10-07 20:22:03    阅读次数:229
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:"(((...
分类:其他好文   时间:2014-10-06 20:28:50    阅读次数:186
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-10-06 13:41:10    阅读次数:154
Combination Sum I&&II
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2014-10-05 16:48:38    阅读次数:193
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 telep...
分类:其他好文   时间:2014-10-05 15:11:48    阅读次数:206
推荐css的命名规则
CSS书写顺序1.位置属性(position, top, right, z-index, display, float等)2.大小(width, height, padding, margin)3.文字系列(font, line-height, letter-spacing, color- text...
分类:Web程序   时间:2014-10-03 16:14:54    阅读次数:243
LeetCode Solution:Letter Combinations of a Phone Number
Letter Combinations of a Phone Number  Total Accepted: 17652 Total Submissions: 66854My Submissions Given a digit string, return all possible letter combinations that the number could repr...
分类:其他好文   时间:2014-09-30 19:28:09    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!