Skip to content

Commit 5fdc2cf

Browse files
longsizhuogithub-actions[bot]
authored andcommitted
chore(docs): sync doc metadata [skip ci]
1 parent 3f9dc14 commit 5fdc2cf

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
---
22
title: 121.The best time for buying and selling stocks
3-
date: '2024.01.01 0:00'
3+
date: "2024.01.01 0:00"
44
tags:
55
- Python
66
- answer
77
- Array
88
- Dynamic planning
99
abbrlink: 3a21fe32
10+
docId: w9ffo1wycpbz50051cb7lyo5
1011
---
12+
1113
# topic:
1214

13-
1415
[2251.The number of flowers during the flowering period.md](https://leetcode-cn.com/problems/number-of-flowers-that-can-be-planted-in-garden/)
16+
1517
# Thought:
1618

1719
Dynamic planning,Find the least problem
1820
Minority problem:FirstiThe maximum profit of heaven = max(Firsti-1The maximum profit of heaven, FirstiHeavenly price - forwardi-1The minimum price of heaven)
1921

2022
# Code:
23+
2124
```python
2225
class Solution:
2326
def maxProfit(self, prices: List[int]) -> int:
@@ -28,4 +31,4 @@ class Solution:
2831
dp[i] = max(dp[i - 1], prices[i] - min_price)
2932
min_price = min(min_price, prices[i])
3033
return dp[-1]
31-
```
34+
```

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-16T10:52:51.362Z",
3+
"generatedAt": "2025-11-17T03:05:45.365Z",
44
"docsDir": "app/docs",
5-
"totalDocs": 115,
5+
"totalDocs": 116,
66
"results": [
77
{
88
"docId": "ue27z7z95yzw3lhhfj7nit1c",
@@ -60,13 +60,13 @@
6060
"docId": "vesefhhnj2ebu2oafxa3qmcg",
6161
"path": "app/docs/ai/agents-todo/testmd.md",
6262
"contributorStats": {
63-
"7187663": 1
63+
"7187663": 2
6464
},
6565
"contributors": [
6666
{
6767
"githubId": "7187663",
68-
"contributions": 1,
69-
"lastContributedAt": "2025-11-16T10:48:15.000Z",
68+
"contributions": 2,
69+
"lastContributedAt": "2025-11-16T10:52:52.000Z",
7070
"login": "Crokily",
7171
"avatarUrl": "https://avatars.githubusercontent.com/u/7187663?v=4",
7272
"htmlUrl": "https://github.com/Crokily"
@@ -2034,6 +2034,23 @@
20342034
}
20352035
]
20362036
},
2037+
{
2038+
"docId": "w9ffo1wycpbz50051cb7lyo5",
2039+
"path": "app/docs/CommunityShare/Leetcode/[121]买卖股票的最佳时期_translated.md",
2040+
"contributorStats": {
2041+
"114939201": 1
2042+
},
2043+
"contributors": [
2044+
{
2045+
"githubId": "114939201",
2046+
"contributions": 1,
2047+
"lastContributedAt": "2025-11-17T03:00:07.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": "rv6egbynttb4mt1n0412bue0",
20392056
"path": "app/docs/CommunityShare/Leetcode/[213]打家劫舍 II_translated.md",

0 commit comments

Comments
 (0)