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 19a5116

Browse files
修改了左闭又开区间的python代码
1 parent 0cfd797 commit 19a5116

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 によって変換されたページ (->オリジナル) /