1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +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": "Medium",
"likes": 548,
"dislikes": 16,
"likes": 568,
"dislikes": 17,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Smallest String With Swaps\", \"titleSlug\": \"smallest-string-with-swaps\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "[1,2,3,4]\n[2,1,4,5]\n[[0,1],[2,3]]\n[1,2,3,4]\n[1,3,2,4]\n[]\n[5,1,2,4,3]\n[1,5,4,2,3]\n[[0,4],[4,2],[1,3],[1,4]]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"24.7K\", \"totalAcceptedRaw\": 11807, \"totalSubmissionRaw\": 24680, \"acRate\": \"47.8%\"}",
"stats": "{\"totalAccepted\": \"12K\", \"totalSubmission\": \"25.2K\", \"totalAcceptedRaw\": 12037, \"totalSubmissionRaw\": 25155, \"acRate\": \"47.9%\"}",
"hints": [
"The source array can be imagined as a graph where each index is a node and each allowedSwaps[i] is an edge.",
"Nodes within the same component can be freely swapped with each other.",