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": 167,
|
||||
"dislikes": 34,
|
||||
"likes": 177,
|
||||
"dislikes": 35,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Coin Change\", \"titleSlug\": \"coin-change\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[1,4,10]\n19\n[1,4,10,5,7,19]\n19\n[1,1,1]\n20",
|
||||
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"10.1K\", \"totalSubmission\": \"19.7K\", \"totalAcceptedRaw\": 10077, \"totalSubmissionRaw\": 19693, \"acRate\": \"51.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"10.3K\", \"totalSubmission\": \"20.1K\", \"totalAcceptedRaw\": 10303, \"totalSubmissionRaw\": 20114, \"acRate\": \"51.2%\"}",
|
||||
"hints": [
|
||||
"Sort the coins array and maintain the smallest sum that is unobtainable by induction.",
|
||||
"If we don’t use any coins, the smallest integer that we cannot obtain by sum is <code>1</code>. Suppose currently, for a fixed set of the first several coins the smallest integer that we cannot obtain is <code>x + 1</code>, namely we can form all integers in the range <code>[1, x]</code> but not <code>x + 1</code>.",
|
||||
|
Reference in New Issue
Block a user