Create second tree as shown in example
Node root2 = null ; root2 = insert ( root2 , 10 ) ; root2 = insert ( root2 , 7 ) ; root2 = insert ( root2 , 20 ) ; root2 = insert ( root2 , 4 ) ; root2 = insert ( root2 , 9 ) ; Console . Write ( " Tree ▁ 1 ▁ : ▁ " + " STRNEWLINE " ) ; inorder ( root1 ) ; Console . WriteLine ( ) ; Console . Write ( " Tree ▁ 2 ▁ : ▁ " + " STRNEWLINE " ) ; inorder ( root2 ) ; Console . WriteLine ( ) ; Console . Write ( " Common ▁ Nodes : ▁ " + " STRNEWLINE " ) ; printCommon ( root1 , root2 ) ; } }