Skip to content

Commit 15d5316

Browse files
Update 回溯算法详解修订版.md (labuladong#653)
Fix a typo from the code. Co-authored-by: labuladong <labuladong@foxmail.com>
1 parent a6a439e commit 15d5316

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

算法思维系列/回溯算法详解修订版.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ PS:**为了简单清晰起见,我们这次讨论的全排列问题不包含
8989

9090
```java
9191
void traverse(TreeNode root) {
92-
for (TreeNode child : root.childern)
92+
for (TreeNode child : root.children)
9393
// 前序遍历需要的操作
9494
traverse(child);
9595
// 后序遍历需要的操作
@@ -539,5 +539,3 @@ var solveNQueens = function (n) {
539539
};
540540
```
541541

542-
543-

0 commit comments

Comments
 (0)