same_tree and max_depth_tree