Create following Binary Tree 1 / \ 1 0 / \ / \ 0 1 1 1
root = newNode ( 0 ) NEW_LINE root . left = newNode ( 1 ) NEW_LINE root . right = newNode ( 0 ) NEW_LINE root . left . left = newNode ( 0 ) NEW_LINE root . left . right = newNode ( 1 ) NEW_LINE root . right . left = newNode ( 1 ) NEW_LINE root . right . right = newNode ( 1 ) NEW_LINE print ( " Inorder ▁ traversal ▁ before ▁ conversion " , end = " ▁ " ) NEW_LINE printInorder ( root ) NEW_LINE convertTree ( root ) NEW_LINE print ( " Inorder traversal after conversion " , ▁ end ▁ = ▁ "   " ) NEW_LINE printInorder ( root ) NEW_LINE