Fix multilingual content typos (#1958)

This commit is contained in:
Yudong Jin
2026-08-18 03:08:23 +08:00
committed by GitHub
parent 69932aed18
commit bf86c39b6c
201 changed files with 289 additions and 271 deletions
@@ -35,7 +35,7 @@ fun binarySearchInsertion(nums: IntArray, target: Int): Int {
} else if (nums[m] > target) {
j = m - 1 // target は区間 [i, m-1] にある
} else {
j = m - 1 // target より小さい最の要素は区間 [i, m-1] にある
j = m - 1 // target より小さい最も右の要素は区間 [i, m-1] にある
}
}
// 挿入位置 i を返す
@@ -62,4 +62,4 @@ fun main() {
val index = binarySearchInsertion(nums, target)
println("要素 $target の挿入位置のインデックスは $index")
}
}
}