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

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 2505,
"likes": 2507,
"dislikes": 714,
"isLiked": null,
"similarQuestions": "[]",
@@ -131,7 +131,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"389.3K\", \"totalSubmission\": \"753.1K\", \"totalAcceptedRaw\": 389288, \"totalSubmissionRaw\": 753149, \"acRate\": \"51.7%\"}",
"stats": "{\"totalAccepted\": \"389.3K\", \"totalSubmission\": \"753.2K\", \"totalAcceptedRaw\": 389329, \"totalSubmissionRaw\": 753234, \"acRate\": \"51.7%\"}",
"hints": [
"This is a great introductory problem for understanding and working with the concept of in-place operations. The problem statement clearly states that we are to modify the array in-place. That does not mean we cannot use another array. We just don't have to return anything.",
"A better way to solve this would be without using additional space. The only reason the problem statement allows you to make modifications in place is that it hints at avoiding any additional memory.",