Let us construct the second Binary Tree 4 / \ 1 7 / / \ 3 2 6
root2 = newNode ( 4 ) ; NEW_LINE root2 . left = newNode ( 1 ) ; NEW_LINE root2 . right = newNode ( 7 ) ; NEW_LINE root2 . left . left = newNode ( 3 ) ; NEW_LINE root2 . right . left = newNode ( 2 ) ; NEW_LINE root2 . right . right = newNode ( 6 ) ; NEW_LINE root3 = MergeTrees ( root1 , root2 ) ; NEW_LINE print ( " The ▁ Merged ▁ Binary ▁ Tree ▁ is : " ) ; NEW_LINE inorder ( root3 ) ; NEW_LINE