google.com, pub-8786015629279405, DIRECT, f08c47fec0942fa0 Types of Binary Tree in Data Structure

Types of Binary Tree in Data Structure

0
A tree is said to be binary tree when,

1. A binary tree has a root node. It may not have any child nodes(0 child nodes, NULL tree).

2. A root node may have one or two child nodes. Each node forms a binary tree itself.

3. The number of child nodes cannot be more than two.

4. It has a unique path from the root to every other node.

There are four types of binary tree:

1. Full Binary Tree
2. Complete Binary Tree
3. Skewed Binary Tree
4. Extended Binary Tree

1. Full Binary Tree
  • If each node of binary tree has either two children or no child at all, is said to be a Full Binary Tree.
  • Full binary tree is also called as Strictly Binary Tree.


  • Every node in the tree has either 0 or 2 children.
  • Full binary tree is used to represent mathematical expressions.
2. Complete Binary Tree
  • If all levels of tree are completely filled except the last level and the last level has all keys as left as possible, is said to be a Complete Binary Tree.
  • Complete binary tree is also called as Perfect Binary Tree.


  • In a complete binary tree, every internal node has exactly two children and all leaf nodes are at same level.
  • For example, at Level 2, there must be 22 = 4 nodes and at Level 3 there must be 23 = 8 nodes.
3. Skewed Binary Tree
  • If a tree which is dominated by left child node or right child node, is said to be a Skewed Binary Tree.
  • In a skewed binary tree, all nodes except one have only one child node. The remaining node has no child.


  • In a left skewed tree, most of the nodes have the left child without corresponding right child.
  • In a right skewed  tree, most of the nodes have the right child without corresponding left child.
4. Extended Binary Tree
  • Extended binary tree consists of replacing every null subtree of the original tree with special nodes.
  • Empty circle represents internal node and filled circle represents external node.
  • The nodes from the original tree are internal nodes and the special nodes are external nodes.
  • Every internal node in the extended binary tree has exactly two children and every external node is a leaf. It displays the result which is a complete binary tree.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Thank you for your interest 😊

We will back shortly after reviewing...

Thank you for your interest 😊

We will back shortly after reviewing...

Post a Comment (0)

#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !
To Top