vault backup: 2025-09-10 23:21:26

This commit is contained in:
2025-09-10 23:21:26 +08:00
parent 0863bde155
commit 8649325b7b

View File

@@ -32,7 +32,6 @@ def right_bound(nums, target):
else:
right = mid - 1
return right if right >= 0 and nums[right] == target else -1
```
## 滑动窗口
```python
@@ -56,5 +55,4 @@ def lengthOfLongestSubstring(s: str) -> int:
result = max(result, right - left + 1)
return result
```