首页 > 其他 > 详细

Types of Binary Tree

时间:2015-10-07 06:17:47      阅读:477      评论:0      收藏:0      [点我收藏+]

Complete Binary Tree

According to wiki, A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible.

Example

技术分享

Full Binary Tree

A full binary tree (sometimes proper binary tree or 2-tree) is a tree in which every node other than the leaves has two children.

Example

技术分享

 

Perfect Binary Tree

perfect binary tree is a binary tree in which all interior nodes have two children and all leaves have the same depth or same level.

 

Types of Binary Tree

原文:http://www.cnblogs.com/ireneyanglan/p/4858166.html

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