mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 00:43:04 +08:00
修改了左闭又开区间的python代码
This commit is contained in:
@ -220,7 +220,8 @@ class Solution:
|
||||
|
||||
(版本二)左闭右开区间
|
||||
|
||||
```class Solution:
|
||||
```python
|
||||
class Solution:
|
||||
def search(self, nums: List[int], target: int) -> int:
|
||||
if nums is None or len(nums)==0:
|
||||
return -1
|
||||
|
Reference in New Issue
Block a user