fix(Go): code comment error (#1404)

* fix: comment error

* fix: comment error in zn-hant version
pull/1407/head
Flamingo 5 months ago committed by GitHub
parent a7c241609f
commit 4190eca41a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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 {

@ -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 {

Loading…
Cancel
Save