mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user