From 87870fcf6004d133e4336e06666716b814dcc422 Mon Sep 17 00:00:00 2001 From: krahets Date: Sun, 16 Apr 2023 05:14:34 +0800 Subject: [PATCH] build --- chapter_backtracking/backtracking_algorithm.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/chapter_backtracking/backtracking_algorithm.md b/chapter_backtracking/backtracking_algorithm.md index fdac5c56b..c9956c0b5 100644 --- a/chapter_backtracking/backtracking_algorithm.md +++ b/chapter_backtracking/backtracking_algorithm.md @@ -20,15 +20,12 @@ comments: true if (root == null) { return; } - // 尝试 if (root.val == 7) { // 记录解 res.add(root); } preOrder(root.left); preOrder(root.right); - // 回退 - return; } ``` @@ -153,7 +150,6 @@ comments: true pre_order(root.right) # 回退 path.pop() - return ``` === "Go" @@ -286,7 +282,6 @@ comments: true pre_order(root.right) # 回退 path.pop() - return ``` === "Go"