Scramble StringGiven a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible...
分类:
其他好文 时间:
2014-12-06 12:44:32
阅读次数:
187
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 total sum ...
分类:
其他好文 时间:
2014-12-04 21:39:20
阅读次数:
209
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-03 21:12:18
阅读次数:
188
概述 The following diagram shows the important state paths of an Activity. The square rectangles represent callback methods you can implement to perfor....
分类:
移动开发 时间:
2014-12-03 20:45:59
阅读次数:
182
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-12-03 19:03:24
阅读次数:
169
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-02 20:43:38
阅读次数:
190
Givenanarraywithnobjectscoloredred,whiteorblue,sortthemsothatobjectsofthesamecolorareadjacent,withthecolorsintheorderred,whiteandblue.Here,wewillusetheintegers0,1,and2torepresentthecolorred,white,andbluerespectively.Note:Youarenotsupposetousethelibrary‘ssor..
分类:
其他好文 时间:
2014-11-30 17:10:10
阅读次数:
148
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-11-28 07:40:57
阅读次数:
200
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-11-27 15:54:33
阅读次数:
135
什么是Base64? 按照RFC2045的定义,Base64被定义为:Base64内容传送编码被设计用来把任意序列的8位字节描述为一种不易被人直接识别的形式。(The Base64 Content-Transfer-Encoding is designed to represent arbitrar...
分类:
其他好文 时间:
2014-11-27 12:19:57
阅读次数:
223