码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
LeetCode: Binary Tree Postorder Traversal 解题报告
Binary Tree Postorder Traversal Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ ...
分类:其他好文   时间:2014-12-18 23:31:30    阅读次数:236
LeetCode: Path Sum 解题报告
Path SumGiven 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 give...
分类:其他好文   时间:2014-12-18 22:11:57    阅读次数:157
LeetCode: Sum Root to Leaf Numbers 解题报告
Sum Root to Leaf Numbers Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-t...
分类:其他好文   时间:2014-12-18 22:11:40    阅读次数:206
LeetCode: Balanced Binary Tree 解题报告
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 tr...
分类:其他好文   时间:2014-12-18 22:05:21    阅读次数:180
leetcode----------Maximum Depth of Binary Tree
题目Maximum Depth of Binary Tree通过率44.2%难度EasyGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest pat...
分类:其他好文   时间:2014-12-18 20:28:05    阅读次数:214
【LeetCode】Symmetric Tree
题目 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / 2 2 / \ / 3 4 4 3 B...
分类:其他好文   时间:2014-12-18 17:01:17    阅读次数:187
【LeetCode】
题目 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 of the two subtrees of every node nev...
分类:其他好文   时间:2014-12-18 15:16:38    阅读次数:169
leetcode------Maximum Depth of Binary Tree
标题:Maximum Depth of Binary Tree通过率:44.2%难度:简单Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest pa...
分类:其他好文   时间:2014-12-18 15:05:18    阅读次数:153
leetcode------Balanced Binary Tree
标题:Balanced Binary Tree通过率:32.3%难度:简单Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is define...
分类:其他好文   时间:2014-12-18 14:50:55    阅读次数:186
Apache Spark源码走读之2 -- Job的提交与运行
转自http://www.cnblogs.com/hseagle/p/3673123.html概要本文以wordCount为例,详细说明spark创建和运行job的过程,重点是在进程及线程的创建。实验环境搭建在进行后续操作前,确保下列条件已满足。下载spark binary 0.9.1安装scala...
分类:Web程序   时间:2014-12-18 14:49:26    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!