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
Hi,
You have a nice solution for inverting a binary tree. But should on line 17 not temp be used instead the root.right? root.left = invert_binary_tree(temp)
The text was updated successfully, but these errors were encountered:
Hi,
You have a nice solution for inverting a binary tree. But should on line 17 not temp be used instead the root.right?
root.left = invert_binary_tree(temp)
The text was updated successfully, but these errors were encountered: