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

@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"754.6K\", \"totalSubmission\": \"1.7M\", \"totalAcceptedRaw\": 754602, \"totalSubmissionRaw\": 1699361, \"acRate\": \"44.4%\"}",
"stats": "{\"totalAccepted\": \"754.8K\", \"totalSubmission\": \"1.7M\", \"totalAcceptedRaw\": 754757, \"totalSubmissionRaw\": 1699690, \"acRate\": \"44.4%\"}",
"hints": [
"The easiest solution would use additional memory and that is perfectly fine.",
"The actual trick comes when trying to solve this problem without using any additional memory. This means you need to use the original array somehow to move the elements around. Now, we can place each element in its original location and shift all the elements around it to adjust as that would be too costly and most likely will time out on larger input arrays.",