Skip to content

Commit b8b8cc9

Browse files
longsizhuogithub-actions[bot]
authored andcommitted
chore(docs): sync doc metadata [skip ci]
1 parent 4e55065 commit b8b8cc9

File tree

2 files changed

+29
-12
lines changed

2 files changed

+29
-12
lines changed

app/docs/CommunityShare/Leetcode/1004_translated.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
---
22
title: 1004.Maximum continuity1Number III Maximum continuity1Number III
3-
date: '2022.12.07-01:15'
3+
date: "2022.12.07-01:15"
44
tags:
55
- - Python
66
- - solved
77
- answer
88
abbrlink: ed19b576
9+
docId: ytg2bds2dnhzw37nrb3vassy
910
---
1011

11-
12-
13-
14-
1512
Today's daily question is too difficult,So find the problem by yourself。Today's question is a hash table+Sliding window algorithm,虽然感觉只用了Sliding window algorithm。
13+
1614
```python
1715

1816
class Solution:
@@ -46,6 +44,7 @@ class Solution:
4644

4745
This is my approach at the beginning,Although the double pointer is used,But there is no flexibility,Very empty feeling,Very dry slide。
4846
the following[@Lincoln](/u/lincoln)@Lincoln Big practice,Just as one record of yourself,不作为我的answer发表
47+
4948
```
5049
class Solution:
5150
def longestOnes(self, nums: List[int], k: int) -> int:
@@ -61,9 +60,10 @@ class Solution:
6160
while right < n:
6261
if nums[right]== 1: o_res += 1
6362
if right-left+1- o_res > k:
64-
if nums[left]== 1: o_res -= 1
63+
if nums[left]== 1: o_res -= 1
6564
left += 1
6665
right += 1
6766
return right - left
6867
```
69-
Look atLincolnBigThinking,very clearly,remember
68+
69+
Look atLincolnBigThinking,very clearly,remember

generated/doc-contributors.json

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"repo": "InvolutionHell/involutionhell",
3-
"generatedAt": "2025-11-15T03:07:05.492Z",
3+
"generatedAt": "2025-11-16T03:05:56.056Z",
44
"docsDir": "app/docs",
5-
"totalDocs": 113,
5+
"totalDocs": 114,
66
"results": [
77
{
88
"docId": "ue27z7z95yzw3lhhfj7nit1c",
@@ -2034,6 +2034,23 @@
20342034
}
20352035
]
20362036
},
2037+
{
2038+
"docId": "ytg2bds2dnhzw37nrb3vassy",
2039+
"path": "app/docs/CommunityShare/Leetcode/1004_translated.md",
2040+
"contributorStats": {
2041+
"114939201": 1
2042+
},
2043+
"contributors": [
2044+
{
2045+
"githubId": "114939201",
2046+
"contributions": 1,
2047+
"lastContributedAt": "2025-11-16T03:00:06.000Z",
2048+
"login": "longsizhuo",
2049+
"avatarUrl": "https://avatars.githubusercontent.com/u/114939201?v=4",
2050+
"htmlUrl": "https://github.com/longsizhuo"
2051+
}
2052+
]
2053+
},
20372054
{
20382055
"docId": "p8igr19xfxnuyo2lpngnr6fg",
20392056
"path": "app/docs/CommunityShare/Leetcode/1234. 替换子串得到平衡字符串_translated.md",
@@ -2123,13 +2140,13 @@
21232140
"docId": "fostlzqqx6l10qz1egd8dw5m",
21242141
"path": "app/docs/CommunityShare/Leetcode/Counting Stars-Inter-Uni Programming Contest.md",
21252142
"contributorStats": {
2126-
"114939201": 1
2143+
"114939201": 2
21272144
},
21282145
"contributors": [
21292146
{
21302147
"githubId": "114939201",
2131-
"contributions": 1,
2132-
"lastContributedAt": "2025-11-15T03:00:49.000Z",
2148+
"contributions": 2,
2149+
"lastContributedAt": "2025-11-15T03:07:06.000Z",
21332150
"login": "longsizhuo",
21342151
"avatarUrl": "https://avatars.githubusercontent.com/u/114939201?v=4",
21352152
"htmlUrl": "https://github.com/longsizhuo"

0 commit comments

Comments
 (0)