mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-06 12:44:19 +00:00
Update preorder_traversal_iii.
This commit is contained in:
@@ -41,7 +41,6 @@ public class preorder_traversal_iii_template {
|
||||
if (isSolution(state)) {
|
||||
// 记录解
|
||||
recordSolution(state, res);
|
||||
return;
|
||||
}
|
||||
// 遍历所有选择
|
||||
for (TreeNode choice : choices) {
|
||||
|
||||
Reference in New Issue
Block a user