首页 > 其他 > 详细

【DataStrcutre】Introduction and description of Binary Trees

时间:2014-08-18 01:34:43      阅读:333      评论:0      收藏:0      [点我收藏+]

[Definitions]

Here is the recursive definition of a binary tree:

A binary tree is either the empty set or a triple T = (x,L,R), where x is a node and L and R are disjoint binary trees, neither of which contains. 

The node x is called the root of the tree T, and the subtrees L and R are called the left subtree and the right subtree of T rooted at x. 

Here is an equivalent, nonerecursive defination for binary trees:

A binay tree is an ordered tree in which every internal node has degree 2. 

Full Binary Trees

A binary tree is said to be full if itls leaves are at the same level and every interior node has two children. 
bubuko.com,布布扣

bubuko.com,布布扣

bubuko.com,布布扣

bubuko.com,布布扣

bubuko.com,布布扣

【DataStrcutre】Introduction and description of Binary Trees,布布扣,bubuko.com

【DataStrcutre】Introduction and description of Binary Trees

原文:http://blog.csdn.net/sxb0841901116/article/details/38647921

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!