1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-12-18 18:14:59 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"1.8K\", \"totalSubmission\": \"3.5K\", \"totalAcceptedRaw\": 1750, \"totalSubmissionRaw\": 3483, \"acRate\": \"50.2%\"}",
"stats": "{\"totalAccepted\": \"1.8K\", \"totalSubmission\": \"3.5K\", \"totalAcceptedRaw\": 1753, \"totalSubmissionRaw\": 3486, \"acRate\": \"50.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."
],