Skip to content

Commit 2b1e9e6

Browse files
authored
Merge pull request billryan#128 from sheisunique/patch-1
Update typo for the comments.
2 parents 206d104 + 40e0abb commit 2b1e9e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zh-hans/binary_search/search_in_rotated_sorted_array_ii.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public class Solution {
102102
ub = mid;
103103
}
104104
} else {
105-
// case3: A[mid] == target
105+
// case3: A[mid] == A[lb]
106106
lb++;
107107
}
108108
}
@@ -117,7 +117,7 @@ public class Solution {
117117

118118
### 源码分析
119119

120-
`A[start] == A[mid]`时递增start序号即可
120+
`A[lb] == A[mid]`时递增lb序号即可
121121

122122
### 复杂度分析
123123

0 commit comments

Comments
 (0)