1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -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.",