码迷,mamicode.com
首页 >  
搜索关键字:represent    ( 1045个结果
LeetCode: Sum Root to Leaf Numbers 解题报告
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-t...
分类:其他好文   时间:2014-12-18 22:11:40    阅读次数:206
【leetcode】 Scramble String (hard)★
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他好文   时间:2014-12-17 12:23:10    阅读次数:166
[leetcode] Sum Root to Leaf Numbers
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:其他好文   时间:2014-12-16 16:55:37    阅读次数:225
Sum Root to Leaf Numbers
终于完成了LeetCode 上AC率在30%以上的题目,这道题是最后一道,纪念一下。 原题是这个样子的: 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...
分类:其他好文   时间:2014-12-14 00:49:21    阅读次数:157
[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-12-11 00:12:47    阅读次数:297
Sum Root to Leaf Numbers
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:其他好文   时间:2014-12-10 22:42:43    阅读次数:166
Letter Combinations of a Phone Number
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:其他好文   时间:2014-12-09 21:24:40    阅读次数:169
[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 tota...
分类:其他好文   时间:2014-12-09 17:47:47    阅读次数:196
[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:Dig...
分类:其他好文   时间:2014-12-08 23:03:54    阅读次数:243
LeetCode: Jump Game II 解题报告
Jump Game II Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represent...
分类:其他好文   时间:2014-12-06 22:42:02    阅读次数:235
1045条   上一页 1 ... 91 92 93 94 95 ... 105 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!