Skip to content

Commit 321af6d

Browse files
authored
Update 145-binary_tree_postorder_traversal.py
1 parent 5cd07cc commit 321af6d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: 145-binary_tree_postorder_traversal.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
"""
2+
https://leetcode.com/problems/binary-tree-postorder-traversal/
3+
4+
Strat:
5+
Do recursively. Iterative needs additional space or destroying the tree.
6+
27
Post : Left Right Me
38
49
4
@@ -49,4 +54,4 @@ def postorder_helper(self, root, result):
4954
# curr = root
5055

5156
# while stack or curr:
52-
# pass
57+
# pass

0 commit comments

Comments
 (0)