mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -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."
|
||||
],
|
||||
|
Reference in New Issue
Block a user