Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 996ca49

Browse files
Merge pull request youngyangyang04#1655 from Damonfruit/master
修改了左闭又开区间的python代码
2 parents 0cfd797 + 19a5116 commit 996ca49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎problems/0704.二分查找.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ class Solution:
220220

221221
(版本二)左闭右开区间
222222

223-
```class Solution:
223+
```python
224+
class Solution:
224225
def search(self, nums: List[int], target: int) -> int:
225226
if nums is None or len(nums)==0:
226227
return -1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /