mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.5K\", \"totalSubmission\": \"26.5K\", \"totalAcceptedRaw\": 8549, \"totalSubmissionRaw\": 26541, \"acRate\": \"32.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.6K\", \"totalSubmission\": \"26.5K\", \"totalAcceptedRaw\": 8550, \"totalSubmissionRaw\": 26543, \"acRate\": \"32.2%\"}",
|
||||
"hints": [
|
||||
"Iterate over all indices i. How do you quickly check the two conditions?",
|
||||
"Precompute for each index whether the conditions are satisfied on the left and the right of the index. You can do that with two iterations, from left to right and right to left."
|
||||
|
Reference in New Issue
Block a user