1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +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": 2091,
"dislikes": 237,
"likes": 2181,
"dislikes": 244,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Convert 1D Array Into 2D Array\", \"titleSlug\": \"convert-1d-array-into-2d-array\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
"exampleTestcases": "[[1,2],[3,4]]\n1\n4\n[[1,2],[3,4]]\n2\n4",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"221.2K\", \"totalSubmission\": \"355.1K\", \"totalAcceptedRaw\": 221239, \"totalSubmissionRaw\": 355086, \"acRate\": \"62.3%\"}",
"stats": "{\"totalAccepted\": \"230.4K\", \"totalSubmission\": \"369K\", \"totalAcceptedRaw\": 230372, \"totalSubmissionRaw\": 369037, \"acRate\": \"62.4%\"}",
"hints": [
"Do you know how 2d matrix is stored in 1d memory? Try to map 2-dimensions into one.",
"M[i][j]=M[n*i+j] , where n is the number of cols. \r\nThis is the one way of converting 2-d indices into one 1-d index. \r\nNow, how will you convert 1-d index into 2-d indices?",