码迷,mamicode.com
首页 >  
搜索关键字:digits    ( 2164个结果
【leetcode】Restore IP Addresses
Restore IP AddressesGiven a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"255255...
分类:其他好文   时间:2015-01-03 11:49:35    阅读次数:178
[LeetCode]17 Letter Combinations of a Phone Number
https://oj.leetcode.com/problems/letter-combinations-of-a-phone-number/http://fisherlei.blogspot.com/2012/12/leetcode-letter-combinations-of-phone.htmlpublicclassSolution{ publicList<String>letterCombinations(Stringdigits){ if(digits==null) returnnul..
分类:其他好文   时间:2015-01-02 16:13:14    阅读次数:134
【leetcode】Restore IP Addresses (middle)
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:其他好文   时间:2015-01-02 13:24:09    阅读次数:185
[LeetCode]129.Sum Root to Leaf Numbers
【题目】 Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Fin...
分类:其他好文   时间:2015-01-01 22:33:42    阅读次数:208
LeetCode Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2015-01-01 18:35:47    阅读次数:184
Add Two Numbers leetcode
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2014-12-31 20:11:16    阅读次数:231
Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a link...
分类:其他好文   时间:2014-12-31 11:23:10    阅读次数:154
[leetcode]Sum Root to Leaf Numbers
问题描述: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Find the ...
分类:其他好文   时间:2014-12-30 23:40:44    阅读次数:173
LeetCode--Plus One
这个题目与java里的BigInteger实现有些类似,可以参考其源码。 题目: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a...
分类:其他好文   时间:2014-12-29 21:24:42    阅读次数:190
LeetCode:Sum Root to Leaf Numbers
题目描述: Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 which represents the number 123. Fi...
分类:其他好文   时间:2014-12-26 18:46:42    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!