1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 704,
"dislikes": 133,
"likes": 729,
"dislikes": 138,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[1,2,3]\n1\n[6,2,7,3]\n4",
@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"66.4K\", \"totalSubmission\": \"77.3K\", \"totalAcceptedRaw\": 66432, \"totalSubmissionRaw\": 77318, \"acRate\": \"85.9%\"}",
"stats": "{\"totalAccepted\": \"68.9K\", \"totalSubmission\": \"80.2K\", \"totalAcceptedRaw\": 68888, \"totalSubmissionRaw\": 80166, \"acRate\": \"85.9%\"}",
"hints": [
"Since that encoded[i] = arr[i] XOR arr[i+1], then arr[i+1] = encoded[i] XOR arr[i].",
"Iterate on i from beginning to end, and set arr[i+1] = encoded[i] XOR arr[i]."