码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
leetcode Balanced Binary Tree
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:其他好文   时间:2014-09-26 12:57:38    阅读次数:204
递归的应用--求二叉树最大深度和最小深度
【求最大深度】Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 这里说的最大深度是指最深叶子节点到根节点的路径长度 ...
分类:其他好文   时间:2014-09-24 16:09:37    阅读次数:200
维护服务器常用命令
一、常用命令pstree查看进程树。可以很清楚的看到进程之间的关系;Top:查看各进程的占用资源的情况;du-h--max-depth=1显示当前目录中所有子目录的大小;w查看服务器的load情况bigip在预发布机器上使用命令“bigipsh${ip/机器名}{username}”可以检查机器是在...
分类:其他好文   时间:2014-09-23 20:13:45    阅读次数:223
Maximum Depth of Binary Tree
[leetcode]Given a binary tree, find its maximum depth....
分类:其他好文   时间:2014-09-22 13:24:42    阅读次数:114
optimizer_search_depth探讨
10.1背景:模拟通过多表查询以分类为分组查询分类中的节目数10.2建表语句(由于实际应用的表,删除了部分字段)mysql>showcreatetablemovies\G;***************************1.row***************************Table:moviesCreateTable:CREATETABLE`movies`(`id`int(11)NOTNULLA..
分类:其他好文   时间:2014-09-22 12:41:53    阅读次数:400
nuke合成技巧转发---景深通道反转
有时候在使用景深通道的时候,面临着要做前虚后实的处理。有时候我们可以使用蓝宝石的s_Zblur,里面的Zbuffer Type来进行修改。如下图: 有的时候却怎么也改变不了,尤其是小景别的时候。那这个时候怎么办呢? 这里可以使用反转depth的做法。先提取红色通道,让图像变成灰色图。然后将途中的.....
分类:其他好文   时间:2014-09-21 17:41:10    阅读次数:1365
raspberrypi VNC server
安装apt-get install tightvncserver tightvnc-java启动vncserver -name vnc_raspi -depth 24 -geometry 800x600 -httpport 9001 :1-name vnc_raspi 桌面名字,这个参数非必要-de...
分类:Web程序   时间:2014-09-18 14:36:43    阅读次数:294
Leetcode_num2_Maximum Depth of Binary Tree
题目: Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. AC率第二高的题啦,二项树的最长路径。初看此题...
分类:其他好文   时间:2014-09-17 20:26:52    阅读次数:162
[leetcode] Minimum Depth of Binary Tree ,到叶子节点的最小距离 (python)
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 nearest le...
分类:编程语言   时间:2014-09-16 18:48:00    阅读次数:242
LeetCode Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-09-16 00:15:49    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!