mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 03:34:02 +08:00
@ -181,7 +181,7 @@ class Solution:
|
|||||||
index += 1
|
index += 1
|
||||||
return 0 if res==float("inf") else res
|
return 0 if res==float("inf") else res
|
||||||
```
|
```
|
||||||
```python3
|
```python
|
||||||
# 滑动窗口
|
# 滑动窗口
|
||||||
class Solution:
|
class Solution:
|
||||||
def minSubArrayLen(self, target: int, nums: List[int]) -> int:
|
def minSubArrayLen(self, target: int, nums: List[int]) -> int:
|
||||||
|
Reference in New Issue
Block a user