Skip to content

Commit 13575d7

Browse files
committed
chore: update comments
1 parent 67ec0c1 commit 13575d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithms/n-ary-tree-postorder-traversal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var postorder = function (root) {
3232
};
3333

3434
// 后序遍历 左右中
35-
// 先序遍历(中左右) -> 中右左(调整代码顺序) -> 左右中(反转结果)
35+
// 先序遍历(中左右) -> 中右左(调整代码入栈顺序) -> 左右中(反转结果)
3636

3737
function bfs(root) {
3838
if (!root) return [];

0 commit comments

Comments
 (0)