码迷,mamicode.com
首页 >  
搜索关键字:letter combinations    ( 2407个结果
Restore IP Addresses
Restore IP Addresses  Total Accepted: 12696 Total Submissions: 61955My Submissions Given a string containing only digits, restore it by returning all possible valid IP address combinations...
分类:其他好文   时间:2014-08-22 21:15:49    阅读次数:277
leetcode之Combination Sum
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 repeated number may be chosen ...
分类:其他好文   时间:2014-08-22 16:24:19    阅读次数:202
Java Word Ladder(字梯)
问题:Given two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:Only one letter...
分类:编程语言   时间:2014-08-21 22:47:14    阅读次数:184
【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 telephone buttons) is given below. Input...
分类:其他好文   时间:2014-08-21 19:30:24    阅读次数:225
Cracking the Coding Interview 8.5
Implement an algorithm to print all valid combinations of n-pairs of parentheses#includevoid f(int idx,int left,int right,char *buf){ if(left == 0 ...
分类:其他好文   时间:2014-08-21 13:06:34    阅读次数:168
projecteuler---->problem=29----Distinct powers
Problem 29 Consider all integer combinations of ab for 2 ≤ a ≤ 5 and 2 ≤ b ≤ 5: 22=4, 23=8, 24=16, 25=32 32=9, 33=27, 34=81, 35=243 42=16, 43=64, 44=256, 45=1024 52=25, 53=125, 54=625, 55=312...
分类:其他好文   时间:2014-08-21 08:26:53    阅读次数:177
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...
分类:其他好文   时间:2014-08-19 20:40:45    阅读次数:203
伪类与伪元素的区别以及由来
伪类: :first-child :link :hover :active :visited :focus :lang伪元素: :first-line :first-letter :before :after注意:CSS3中伪元素前是两个冒号,如 ::first-lin...
分类:其他好文   时间:2014-08-18 09:14:33    阅读次数:240
Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations....
分类:其他好文   时间:2014-08-17 22:48:32    阅读次数:217
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....
分类:其他好文   时间:2014-08-17 17:03:22    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!