Solution for Same Tree.