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-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 284,
"dislikes": 16,
"likes": 285,
"dislikes": 17,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Valid Sudoku\", \"titleSlug\": \"valid-sudoku\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Matrix Diagonal Sum\", \"titleSlug\": \"matrix-diagonal-sum\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
"exampleTestcases": "[[1,2,3],[3,1,2],[2,3,1]]\n[[1,1,1],[1,2,3],[1,2,3]]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"24.4K\", \"totalSubmission\": \"46.9K\", \"totalAcceptedRaw\": 24390, \"totalSubmissionRaw\": 46901, \"acRate\": \"52.0%\"}",
"stats": "{\"totalAccepted\": \"24.5K\", \"totalSubmission\": \"47.2K\", \"totalAcceptedRaw\": 24536, \"totalSubmissionRaw\": 47177, \"acRate\": \"52.0%\"}",
"hints": [
"Use for loops to check each row for every number from 1 to n. Similarly, do the same for each column.",
"For each check, you can keep a set of the unique elements in the checked row/col. By the end of the check, the size of the set should be n."