码迷,mamicode.com
首页 > 其他好文 > 详细

Types of Binary Tree

时间:2015-10-07 06:20:24      阅读:149      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!