Tree: Postorder Traversal

  • + 1 comment

    is "&& root!=null" necessary in "while(!stack.isEmpty() && root!=null){" ?