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
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
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
终于完成了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
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 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 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
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
问题描述:
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
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