1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"65.2K\", \"totalSubmission\": \"180.1K\", \"totalAcceptedRaw\": 65232, \"totalSubmissionRaw\": 180134, \"acRate\": \"36.2%\"}",
"stats": "{\"totalAccepted\": \"65.2K\", \"totalSubmission\": \"180.1K\", \"totalAcceptedRaw\": 65233, \"totalSubmissionRaw\": 180139, \"acRate\": \"36.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"