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\": \"11.5K\", \"totalSubmission\": \"22.5K\", \"totalAcceptedRaw\": 11516, \"totalSubmissionRaw\": 22470, \"acRate\": \"51.3%\"}",
"stats": "{\"totalAccepted\": \"11.5K\", \"totalSubmission\": \"22.5K\", \"totalAcceptedRaw\": 11517, \"totalSubmissionRaw\": 22471, \"acRate\": \"51.3%\"}",
"hints": [
"The implementation is long - we want to perfrom the following steps:\r\n\r\n* Find all viral regions (connected components), additionally for each region keeping track of the frontier (neighboring uncontaminated cells), and the perimeter of the region.\r\n\r\n* Disinfect the most viral region, adding it's perimeter to the answer.\r\n\r\n* Spread the virus in the remaining regions outward by 1 square."
],