1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +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,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 520,
"likes": 535,
"dislikes": 10,
"isLiked": null,
"similarQuestions": "[]",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"7.9K\", \"totalSubmission\": \"16.2K\", \"totalAcceptedRaw\": 7865, \"totalSubmissionRaw\": 16195, \"acRate\": \"48.6%\"}",
"stats": "{\"totalAccepted\": \"8K\", \"totalSubmission\": \"16.5K\", \"totalAcceptedRaw\": 8034, \"totalSubmissionRaw\": 16474, \"acRate\": \"48.8%\"}",
"hints": [
"By studying the pattern of the operations, we can find out that the problem is equivalent to: Given an integer array with size 3N, select N integers with maximum sum and any selected integers are not next to each other in the array.",
"The first one in the array is considered next to the last one in the array. Use Dynamic Programming to solve it."