mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 15:29:53 +08:00
Several bug fixes (#984)
* Fix quick_sort.md * Disable instant loading for mathjax rendering * Fix the summary.md of chapter_sorting * Two bug fixes
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
|
||||
## 区间表示方法
|
||||
|
||||
除了上述双闭区间外,常见的区间表示还有“左闭右开”区间,定义为 $[0, n)$ ,即左边界包含自身,右边界不包含自身。在该表示下,区间 $[i, j]$ 在 $i = j$ 时为空。
|
||||
除了上述双闭区间外,常见的区间表示还有“左闭右开”区间,定义为 $[0, n)$ ,即左边界包含自身,右边界不包含自身。在该表示下,区间 $[i, j)$ 在 $i = j$ 时为空。
|
||||
|
||||
我们可以基于该表示实现具有相同功能的二分查找算法:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user