mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 21:24:53 +08:00
Prepare for release 1.0.0b4
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// File: preorder_traversal_i_compact_test.go
|
||||
// File: permutation_test.go
|
||||
// Created Time: 2023-05-09
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
// File: permutations_i.go
|
||||
// Created Time: 2023-05-14
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
// File: permutations_i.go
|
||||
// File: permutations_ii.go
|
||||
// Created Time: 2023-05-14
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// File: preorder_traversal_i_compact.go
|
||||
// File: preorder_traversal_ii_compact.go
|
||||
// Created Time: 2023-05-09
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// File: preorder_traversal_i_compact.go
|
||||
// File: preorder_traversal_iii_compact.go
|
||||
// Created Time: 2023-05-09
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// File: preorder_traversal_i_compact.go
|
||||
// File: preorder_traversal_iii_template.go
|
||||
// Created Time: 2023-05-09
|
||||
// Author: Reanon (793584285@qq.com)
|
||||
|
||||
@ -39,7 +39,6 @@ func backtrackIII(state *[]*TreeNode, choices *[]*TreeNode, res *[][]*TreeNode)
|
||||
if isSolution(state) {
|
||||
// 记录解
|
||||
recordSolution(state, res)
|
||||
return
|
||||
}
|
||||
// 遍历所有选择
|
||||
for _, choice := range *choices {
|
||||
|
||||
Reference in New Issue
Block a user