Skip to content

Commit 5d16a2e

Browse files
committed
Update comments
1 parent 5c36e4f commit 5d16a2e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: algorithms/binary-tree-postorder-traversal.js

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ var postorderTraversal = function (root) {
2929
// return postOrderTraversalIterate(root);
3030
};
3131

32+
// 后序遍历
33+
// 中右左
34+
// => reverse
35+
// 左右中
3236
function postOrderTraversalIterate(root) {
3337
const result = [];
3438
const stack = [];

0 commit comments

Comments
 (0)