1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 452,
"likes": 454,
"dislikes": 7,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Minimum Number of K Consecutive Bit Flips\", \"titleSlug\": \"minimum-number-of-k-consecutive-bit-flips\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"7.5K\", \"totalSubmission\": \"19.4K\", \"totalAcceptedRaw\": 7530, \"totalSubmissionRaw\": 19408, \"acRate\": \"38.8%\"}",
"stats": "{\"totalAccepted\": \"7.6K\", \"totalSubmission\": \"19.5K\", \"totalAcceptedRaw\": 7554, \"totalSubmissionRaw\": 19458, \"acRate\": \"38.8%\"}",
"hints": [
"Build an array withoutFirst where withoutFirst[i] stores the minimum time to remove all the cars containing illegal goods from the suffix of the sequence starting from the ith car without using any type 1 operations.",
"Next, build an array onlyFirst where onlyFirst[i] stores the minimum time to remove all the cars containing illegal goods from the prefix of the sequence ending on the ith car using only type 1 operations.",