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-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 454,
"likes": 470,
"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.6K\", \"totalSubmission\": \"19.5K\", \"totalAcceptedRaw\": 7554, \"totalSubmissionRaw\": 19458, \"acRate\": \"38.8%\"}",
"stats": "{\"totalAccepted\": \"7.8K\", \"totalSubmission\": \"20K\", \"totalAcceptedRaw\": 7800, \"totalSubmissionRaw\": 20007, \"acRate\": \"39.0%\"}",
"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.",