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

@@ -167,7 +167,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"193.1K\", \"totalSubmission\": \"280.8K\", \"totalAcceptedRaw\": 193051, \"totalSubmissionRaw\": 280755, \"acRate\": \"68.8%\"}",
"stats": "{\"totalAccepted\": \"193.1K\", \"totalSubmission\": \"280.8K\", \"totalAcceptedRaw\": 193081, \"totalSubmissionRaw\": 280797, \"acRate\": \"68.8%\"}",
"hints": [
"Can you model this problem as a graph problem? Create n * m + 1 nodes where n * m nodes represents each cell of the map and one extra node to represent the exterior of the map.",
"In the map add edges between neighbors on land cells. And add edges between the exterior and land nodes which are in the boundary.\r\nReturn as answer the number of nodes that are not reachable from the exterior node."