mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 10:06:28 +08:00
Update binary_search.md (#699)
This commit is contained in:
parent
beea47eb5d
commit
2f0f154b3c
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
若数组不包含目标元素,搜索区间最终会缩小为空。此时返回 $-1$ 。
|
||||
|
||||
=== "<1>"
|
||||
![binary_search_step1](binary_search.assets/binary_search_step1.png)
|
||||
![二分查找流程](binary_search.assets/binary_search_step1.png)
|
||||
|
||||
=== "<2>"
|
||||
![binary_search_step2](binary_search.assets/binary_search_step2.png)
|
||||
|
|
Loading…
Reference in a new issue