Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:
其他好文 时间:
2014-11-16 07:06:02
阅读次数:
151
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total numb...
分类:
其他好文 时间:
2014-11-16 07:05:48
阅读次数:
159
跟第七题一样,把最后的输出顺序换一下就行。。。 Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For exam...
分类:
其他好文 时间:
2014-11-15 21:29:30
阅读次数:
231
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:
其他好文 时间:
2014-11-15 18:47:01
阅读次数:
234
Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,9,2...
分类:
其他好文 时间:
2014-11-15 18:28:47
阅读次数:
179
添加ActionBar 只需要在AndroidManifest.xml中指定Application或Activity的theme即可: android:theme="@style/AppTheme"?> res/values/styles.xml指定AppTheme: <resources>
????<!--
????????B...
分类:
其他好文 时间:
2014-11-15 10:10:54
阅读次数:
218
举例:xtype:'list', store:'eventsListStore', itemTpl: new Ext.XTemplate('', '', '', '', '{[this.decode(values.Title)]}', /...
分类:
Web程序 时间:
2014-11-15 10:04:47
阅读次数:
614
Problem:given an array that contains duplicates (except one value), find the one value that does not have a duplicate in that array. Explain the compl...
分类:
其他好文 时间:
2014-11-15 06:35:12
阅读次数:
202
这次相对来讲复杂点,题目如下:
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from lea...
分类:
其他好文 时间:
2014-11-15 01:27:53
阅读次数:
174
这次相对来讲复杂点,题目如下: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from lea...
分类:
其他好文 时间:
2014-11-15 01:23:35
阅读次数:
192