The only characteristic which separates Binary Tree from N-ary trees is that any internal-node (non-leaf node) can only contain a maximum of two child nodes. Each node strictly has reference to a left and a right node; we call them its left and right child. The figure below shows what a Binary Tree looks like:
The following are further variations of binary trees, based on the structure and other features:
Starting with Complete Binary Tree, let’s discuss each one of them and look at their characteristics and structure.
A Binary Tree is said to be complete if it satisfies the following properties: