Skip to content

Commit 3af9a2b

Browse files
aQuaaQua
aQua
authored and
aQua
committed
improving Problem 39
修改了终止条件和注释
1 parent bebf686 commit 3af9a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Algorithms/0039.combination-sum/combination-sum.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func cs(candidates, solution []int, target int, result *[][]int) {
2020
}
2121

2222
if len(candidates) == 0 || target < candidates[0] {
23-
// target < candidates[0] 这个是因为candidates是排序好的
23+
// target < candidates[0] 因为candidates是排序好的
2424
return
2525
}
2626

0 commit comments

Comments
 (0)