mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
],
|
||||
"companyTagStats": null,
|
||||
"codeSnippets": null,
|
||||
"stats": "{\"totalAccepted\": \"4.3K\", \"totalSubmission\": \"8.2K\", \"totalAcceptedRaw\": 4252, \"totalSubmissionRaw\": 8204, \"acRate\": \"51.8%\"}",
|
||||
"stats": "{\"totalAccepted\": \"4.3K\", \"totalSubmission\": \"8.2K\", \"totalAcceptedRaw\": 4273, \"totalSubmissionRaw\": 8236, \"acRate\": \"51.9%\"}",
|
||||
"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