1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 700,
"dislikes": 167,
"likes": 728,
"dislikes": 172,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Maximum Points You Can Obtain from Cards\", \"titleSlug\": \"maximum-points-you-can-obtain-from-cards\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Stone Game VII\", \"titleSlug\": \"stone-game-vii\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "[1,2,3]\n[3,2,1]\n[-5,-3,-3,-2,7,1]\n[-10,-5,3,4,6]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"29.4K\", \"totalSubmission\": \"82.9K\", \"totalAcceptedRaw\": 29368, \"totalSubmissionRaw\": 82932, \"acRate\": \"35.4%\"}",
"stats": "{\"totalAccepted\": \"31.3K\", \"totalSubmission\": \"88K\", \"totalAcceptedRaw\": 31343, \"totalSubmissionRaw\": 88050, \"acRate\": \"35.6%\"}",
"hints": [
"At first glance, the solution seems to be greedy, but if you try to greedily take the largest value from the beginning or the end, this will not be optimal.",
"You should try all scenarios but this will be costy.",