You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return (lambda same, *args: same(same, *args))(lambda same, a, b: True if a is b else False if type(a) is not type(b) or a.val != b.val else same(same, a.left, b.right) and same(same, a.right, b.left), root.left, root.right) if root is not None else True