You are viewing a single comment's thread. Return to all comments →
def postOrder(root): if root is None: return root.postOrder(root.left) root.postOrder(root.right) root.postOrder(root.info,end='')
why it is showing wrong answer
Seems like cookies are disabled on this browser, please enable them to open this website
Tree: Postorder Traversal
You are viewing a single comment's thread. Return to all comments →
def postOrder(root): if root is None: return root.postOrder(root.left) root.postOrder(root.right) root.postOrder(root.info,end='')