mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-17 20:17:14 +00:00
Fix multilingual content typos (#1958)
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
|
||||
### 轉化為查詢元素
|
||||
|
||||
我們知道,當陣列不包含 `target` 時,最終 $i$ 和 $j$ 會分別指向首個大於、小於 `target` 的元素。
|
||||
我們知道,當陣列不包含 `target` 時,最終 $i$ 和 $j$ 會分別指向首個大於 `target` 的元素和最右一個小於 `target` 的元素。
|
||||
|
||||
因此,如下圖所示,我們可以構造一個陣列中不存在的元素,用於查詢左右邊界。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user