1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11: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

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"21.1K\", \"totalSubmission\": \"55.4K\", \"totalAcceptedRaw\": 21122, \"totalSubmissionRaw\": 55395, \"acRate\": \"38.1%\"}",
"stats": "{\"totalAccepted\": \"21.1K\", \"totalSubmission\": \"55.4K\", \"totalAcceptedRaw\": 21130, \"totalSubmissionRaw\": 55413, \"acRate\": \"38.1%\"}",
"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."