Skip to content

Commit

Permalink
fix: comment error in zn-hant version
Browse files Browse the repository at this point in the history
  • Loading branch information
Transmigration-zhou committed Jun 27, 2024
1 parent bedc912 commit 2dfa936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func dfs(nums []int, target, i, j int) int {
// 遞迴子問題 f(m+1, j)
return dfs(nums, target, m+1, j)
} else if nums[m] > target {
// 小於則遞迴左半陣列
// 大於則遞迴左半陣列
// 遞迴子問題 f(i, m-1)
return dfs(nums, target, i, m-1)
} else {
Expand Down

0 comments on commit 2dfa936

Please sign in to comment.