1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

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