mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 16:01:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"1.6K\", \"totalSubmission\": \"4.7K\", \"totalAcceptedRaw\": 1627, \"totalSubmissionRaw\": 4725, \"acRate\": \"34.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"1.6K\", \"totalSubmission\": \"4.7K\", \"totalAcceptedRaw\": 1627, \"totalSubmissionRaw\": 4726, \"acRate\": \"34.4%\"}",
|
||||
"hints": [
|
||||
"Consider infected children as <code>0</code> and non-infected as <code>1</code>, then divide the array into segments with the same value.",
|
||||
"For each segment of non-infected children whose indices are <code>[i, j]</code> and indices <code>(i - 1)</code> and <code>(j + 1)</code>, if they exist, are already infected. Then if <code>i == 0</code> or <code>j == n - 1</code>, each second there is only one kid that can be infected (which is at the other endpoint).",
|
||||
|
Reference in New Issue
Block a user