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": false,
"difficulty": "Hard",
"likes": 633,
"likes": 634,
"dislikes": 73,
"isLiked": null,
"similarQuestions": "[]",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"25.2K\", \"totalSubmission\": \"80.7K\", \"totalAcceptedRaw\": 25184, \"totalSubmissionRaw\": 80741, \"acRate\": \"31.2%\"}",
"stats": "{\"totalAccepted\": \"25.2K\", \"totalSubmission\": \"80.8K\", \"totalAcceptedRaw\": 25193, \"totalSubmissionRaw\": 80757, \"acRate\": \"31.2%\"}",
"hints": [
"Given that the sum is strictly increasing, the largest element in the target must be formed in the last step by adding the total sum in the previous step. Thus, we can simulate the process in a reversed way.",
"Subtract the largest with the rest of the array, and put the new element into the array. Repeat until all elements become one"