By taking an appropriate example explain how a general tree can be represented as a Binary Tree.
Conversion of general trees into the binary trees:
A general tree can be changed into an equivalent binary tree. This conversion process or technique is called the natural correspondence between general and binary trees.
The algorithm is written below:
(a) Insert the edges connecting siblings from left to right at the same level.
(b Erase all edges of a parent to its children except to its left most offspring.
(c) Rotate the obtained tree 450 to mark clearly left and right subtrees.
A general tree shown in figure (a) converted into the binary tree shown in (b)