题目描述: Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nea
分类:
编程语言 时间:
2016-02-04 13:23:50
阅读次数:
235
https://www.mapr.com/blog/in-depth-look-hbase-architecture An In-Depth Look at the HBase Architecture August 7, 2015 Carol McDonald In this blog post,
分类:
其他好文 时间:
2016-01-29 19:50:23
阅读次数:
181
1 移动多个文件有a b c三个文件,一个目录d,用下面命令就能将a b c移动到d中 $ mv a b c d 2 查看文件大小du -h --max-depth=1 路径3 scp 记得加-rscp not a regular file错误传文件夹 用-r参数 否则有 not a regular...
分类:
系统相关 时间:
2016-01-23 12:55:42
阅读次数:
233
http://gad.qq.com/article/detail/7151089UIWidget的显示顺序我们在设置UISprite、UILabel等控件的深度时,都是在设置其Widget样式中的Depth值。其实这些控件都是继承至UIWidget。但是UIPanel不是继承至UIWidget,De...
分类:
其他好文 时间:
2016-01-14 20:44:48
阅读次数:
187
问题汇总1.Light support for Editor编辑器加入了灯光工具, 可以添加和修改灯光.问题1. light object的用户互交.point light可以把对应的volume (wireframe sphere/cone)画出来用于用户选中, 但是光源太多的时候, 球就有点凌乱...
分类:
其他好文 时间:
2016-01-09 21:28:38
阅读次数:
175
这道题预计是ac率最高的一道了。你当然能够用层序遍历,我佩服你的耐心和勇气。由于看到别人的三行代码,会不会流眼泪呢。。class Solution {public: int maxDepth(TreeNode *root) { if(root == NULL) return...
分类:
其他好文 时间:
2016-01-06 21:58:09
阅读次数:
208
整个dump返回的文件可以看成一棵由控件组成的多叉树,每一行代表一个控件,每一行(一个控件)开始前的空格数代表该控件在这棵树的层次,如没有空格代表的就是根节点,也就是我们常说的窗口顶端的DecorView.以上方法的算法理解我们首先要弄清楚用到的几个变量的意义:depth: 代表当前在分析的一行控件...
分类:
其他好文 时间:
2016-01-05 18:56:17
阅读次数:
135
原文地址:https://hacks.mozilla.org/2015/08/es6-in-depth-modules/ ES6 是 ECMAScript 第 6 版本的简称,这是新一代的 JavaScript 的标准。ES6 in Depth是关于 ES6 的一系列新特性的介绍。 ES6 ...
分类:
其他好文 时间:
2016-01-04 13:16:22
阅读次数:
152
清空文件的内容:true > 文件名 (或 echo “”> 文件名)统计文件的大小:du -h --max-depth=1 /usr/local/nginx/logs/* (*表示logs文件夹里的所有文件)统计文件夹的大小:du -sh 文件夹
分类:
其他好文 时间:
2015-12-29 19:15:02
阅读次数:
157
? 文件夹大小#du -h --max-depth=1 *#du -sh *|sort -n? ll显示结果排序从小大到:ll -Sh从大到小:ll -Srh从先到后: ll -rt从后到先: ll -t?文件分割#split -d -50000 CPUSER.201305.uid userId-d...
分类:
其他好文 时间:
2015-12-29 11:06:39
阅读次数:
163