mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 23:11:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": true,
|
||||
"difficulty": "Medium",
|
||||
"likes": 226,
|
||||
"likes": 227,
|
||||
"dislikes": 19,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[]",
|
||||
@@ -40,7 +40,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"9.8K\", \"totalSubmission\": \"18.7K\", \"totalAcceptedRaw\": 9822, \"totalSubmissionRaw\": 18653, \"acRate\": \"52.7%\"}",
|
||||
"stats": "{\"totalAccepted\": \"9.9K\", \"totalSubmission\": \"18.7K\", \"totalAcceptedRaw\": 9855, \"totalSubmissionRaw\": 18711, \"acRate\": \"52.7%\"}",
|
||||
"hints": [
|
||||
"What about solving the problem with DP?",
|
||||
"Use DP with two states dp[pos][cnt], where pos represents the pos-th coin and cnt is the number of heads seen so far.",
|
||||
|
Reference in New Issue
Block a user