package chap10;import static
org.junit.Assert.*;import java.util.Stack;import org.junit.Test;public class
exec10_4_4 { /** * 将该树打印 * * @param tree */ ...
分类:
其他好文 时间:
2014-06-16 10:58:06
阅读次数:
183
原文:MyEclipse使用总结——MyEclipse文件查找技巧一、查找文件
使用快捷键【ctrl+shift+R】弹出弹出文件查找框,如下图所示: 二、查找包含某个字符串的文件 使用快捷键【ctrl+H】在弹出对话框中选File
Search选项,然后在第一个文本框中粘贴(我一般用粘贴)或自已手...
分类:
系统相关 时间:
2014-06-12 14:29:28
阅读次数:
269
原题地址:https://oj.leetcode.com/problems/maximum-depth-of-binary-tree/题意:Given
a binary tree, find its maximum depth.The maximum depth is the number of n...
分类:
编程语言 时间:
2014-06-12 13:55:34
阅读次数:
210
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-06-12 08:10:28
阅读次数:
194
二叉查换树,左孩子小于等于根,右孩子大于根。完全二叉树,叶子都在最后一层,所有结点(除了叶子)都有两个孩子。平衡二叉树,左右子树的高度在一定范围内。4.1
Implement a function to check if a binary tree is balanced. For the purp...
分类:
其他好文 时间:
2014-06-12 08:09:04
阅读次数:
167