We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
If anyone else is having issues getting the Python solution to work (because of the wrong function being called by the system), I've found a workaround. I created my own tree and took over __main__ and sys.stdin.
Tree: Height of a Binary Tree
You are viewing a single comment's thread. Return to all comments →
If anyone else is having issues getting the Python solution to work (because of the wrong function being called by the system), I've found a workaround. I created my own tree and took over
__main__
andsys.stdin
.This passes all cases.