文件名称:4_subTree
-
所属分类:
- 标签属性:
- 上传时间:2013-08-27
-
文件大小:3.05kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
给定两棵二叉树,求出它们所有节点数大于等于2的最大子树。
二叉树的子树,是指去掉这棵二叉树的某些节点以及与这些节点相连的枝而得到的二叉树。设T为二叉树,R为它的子树,如果不存在二叉树S,使得R为S的子树且S为T的子树,那么称R为T的最大子树。-Given two binary trees, find them all nodes greater than or equal to 2 maximum subtree. A sub binary tree, the binary tree is removed and some of the nodes connected to the node with the obtained binary tree branches. Let T be a binary tree, R for its subtree, if there is no binary S, such that R is S, and S is the sub-tree subtree of T, then R is called a subtree of T max.
二叉树的子树,是指去掉这棵二叉树的某些节点以及与这些节点相连的枝而得到的二叉树。设T为二叉树,R为它的子树,如果不存在二叉树S,使得R为S的子树且S为T的子树,那么称R为T的最大子树。-Given two binary trees, find them all nodes greater than or equal to 2 maximum subtree. A sub binary tree, the binary tree is removed and some of the nodes connected to the node with the obtained binary tree branches. Let T be a binary tree, R for its subtree, if there is no binary S, such that R is S, and S is the sub-tree subtree of T, then R is called a subtree of T max.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
4_subTree/FindAllComSubTree.cpp
4_subTree/subTree01.cpp
4_subTree/subTree02.cpp
4_subTree/subTree03.cpp
4_subTree
4_subTree/subTree01.cpp
4_subTree/subTree02.cpp
4_subTree/subTree03.cpp
4_subTree
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.