码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
leetcode 104 Maximum Depth of Binary Tree ----- java
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 l ...
分类:编程语言   时间:2016-10-26 13:07:52    阅读次数:156
【leetcode?python】 111. Minimum Depth of Binary Tree
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# self.right = Noneclass Solution ...
分类:编程语言   时间:2016-10-24 22:59:37    阅读次数:179
LeetCode之104. Maximum Depth of Binary Tree
-------------------------------- 递归遍历即可 AC代码: /** * Definition for a binary tree node. * public class TreeNode { * int val; * TreeNode left; * TreeNod... ...
分类:其他好文   时间:2016-10-24 07:41:45    阅读次数:161
以大写字母“J”来展示位图
https://zh.wikipedia.org/wiki/位图 https://zh.wikipedia.org/wiki/像素 php.net https://en.wikipedia.org/wiki/Color_depth 位图(Bitmap),又称栅格图(英语:Raster graphic ...
分类:其他好文   时间:2016-10-24 02:26:56    阅读次数:284
LeetCode 104 Maximum Depth of Binary Tree
Problem: 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 f ...
分类:其他好文   时间:2016-10-23 07:37:00    阅读次数:187
【leetcode?python】 Maximum Depth of Binary Tree
#-*- coding: UTF-8 -*- # Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# self.rig ...
分类:编程语言   时间:2016-10-12 18:53:08    阅读次数:168
104. 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 l ...
分类:其他好文   时间:2016-10-12 13:30:49    阅读次数:113
ubuntu 开机进入不了图形界面
在开机的时候有注意到空间不足。第二天重启的时候进入不了系统。 但是 ctrl + alt _F6 可以进入shell . 于是估计是空间不足导致进入不了系统。 找到哪里文件夹空间异常的大就可以解决问题。 du -h --max-depth=1 work/testing 类似如左边的方式找到文件夹。 ...
分类:系统相关   时间:2016-10-11 13:59:33    阅读次数:284
常用命令
查看命令所用的安装包: 例如 losf which losf //命令的位置 rpm -qf /usr/sbin/losf //命令所用的包 查看目录下文件大小: du -h --max-depth=1 //列出各目录大小du -ah //列出个目录及文件大小 查看分区: df -h //每个分区所 ...
分类:其他好文   时间:2016-10-04 16:16:05    阅读次数:139
DFS & BFS
DFS : depth first search BFS: breadth first search DFS : 46. Permutations Given a collection of distinct numbers, return all possible permutations. Fo ...
分类:其他好文   时间:2016-10-04 07:29:02    阅读次数:192
1433条   上一页 1 ... 65 66 67 68 69 ... 144 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!