/** * Problem: Perform rotations on tree1 to make it equivalent to tree2. Stack over flow error in bolded two lines solve(temp,root2,tree1); and solve(temp,root2,tree1); */