1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-06 07: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,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 279,
"dislikes": 548,
"likes": 287,
"dislikes": 549,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[5,4,3,2,1]\n[1,1,2,2,3]\n3\n1\n[5,4,3,2,1]\n[1,3,3,3,2]\n3\n2\n[9,8,8,7,6]\n[0,0,0,1,1]\n3\n1",
@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"27.1K\", \"totalSubmission\": \"44.7K\", \"totalAcceptedRaw\": 27073, \"totalSubmissionRaw\": 44706, \"acRate\": \"60.6%\"}",
"stats": "{\"totalAccepted\": \"27.6K\", \"totalSubmission\": \"45.6K\", \"totalAcceptedRaw\": 27613, \"totalSubmissionRaw\": 45565, \"acRate\": \"60.6%\"}",
"hints": [
"Consider the items in order from largest to smallest value, and greedily take the items if they fall under the use_limit. We can keep track of how many items of each label are used by using a hash table."
],