diff --git a/notes/Leetcode 题解 - 二分查找.md b/notes/Leetcode 题解 - 二分查找.md index 4b9be940..bcf3e770 100644 --- a/notes/Leetcode 题解 - 二分查找.md +++ b/notes/Leetcode 题解 - 二分查找.md @@ -89,7 +89,7 @@ public int binarySearch(int[] nums, int key) { ```text nums = {0, 1, 2}, key = 1 l m h -0 1 2 nums[m] >= key +0 1 3 nums[m] >= key 0 0 1 nums[m] < key 1 1 1 nums[m] >= key 1 1 1 nums[m] >= key