【题目】
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 20
/ 15 7
return its b...
分类:
其他好文 时间:
2014-06-20 09:42:30
阅读次数:
224
top命令 是Linux下常用的性能 分析工具 ,能够实时显示系统
中各个进程的资源占用状况,类似于Windows的任务管理 器。下面详细介绍它的使用方法。 top - 02:53:32 up 16 days, 6:34, 17
users, load average: 0.24, 0.21, 0....
分类:
系统相关 时间:
2014-06-13 13:27:01
阅读次数:
446
jQuery选项卡tabulous,jQuery,选项卡,tab标签切换代码,扁平设计,jQuery选项卡tabulous是一款支持Scale、Slide、Scale
Up、Flip等效果jquery插件.中国素材网.http://www.huiyi8.com/sc/484.html
分类:
Web程序 时间:
2014-06-11 12:50:30
阅读次数:
239
ctrl+/ 单行注释ctrl+shift+/ 块注释ctrl+shift+
+/- 展开/折叠ctrl+alt+L 格式化代码ctrl+shift+ up/down 上下移动句子Alt+回车 导入包,自动修正Ctrl+N
查找类Ctrl+Shift+N 查找文件Ctrl+Alt+L 格式化代码Ct...
分类:
Web程序 时间:
2014-06-11 10:57:44
阅读次数:
397
Follow up for "Search in Rotated Sorted
Array":What ifduplicatesare allowed?Would this affect the run-time complexity?
How and why?Write a function to...
分类:
其他好文 时间:
2014-06-08 01:19:29
阅读次数:
320
PathsumDescription: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 equa...
分类:
其他好文 时间:
2014-06-08 01:11:46
阅读次数:
395
You are given an n x n 2D matrix representing
an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this
in-place?实现题。从最外圈顺时针交换,最...
分类:
其他好文 时间:
2014-06-07 20:33:17
阅读次数:
283
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-06-07 16:55:09
阅读次数:
173
3.0以前的提供的ActionBar,以它简洁的界面,统一的风格控制,及丰富的功能,为开发者所喜爱。大量的应用使用了ActionBar,然而市面上扔存在大量的Android 2.2 , 2.3 的设备,是否意味着应用必须要放弃低版本的市场呢!No,Google 新提供了一个V7 jar 包,支持低版本上使用ActionBar。...
分类:
移动开发 时间:
2014-06-07 16:15:17
阅读次数:
227
离散化+暴力
Consecutive Blocks
Time Limit: 2 Seconds Memory Limit: 65536 KB
There are N (1 ≤ N ≤ 105) colored blocks (numbered 1 to N from left to right) which are lined up in a row. An...
分类:
其他好文 时间:
2014-06-07 13:08:07
阅读次数:
193