1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 15:31:43 +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

@@ -143,7 +143,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"19.9K\", \"totalSubmission\": \"37.2K\", \"totalAcceptedRaw\": 19933, \"totalSubmissionRaw\": 37246, \"acRate\": \"53.5%\"}",
"stats": "{\"totalAccepted\": \"20K\", \"totalSubmission\": \"37.3K\", \"totalAcceptedRaw\": 19955, \"totalSubmissionRaw\": 37287, \"acRate\": \"53.5%\"}",
"hints": [
"If you fix index <code>j</code>, <code>i</code> will be the smallest integer to the left of <code>j</code>, and <code>k</code> the largest integer to the right of <code>j</code>.",
"To find <code>i</code> and <code>k</code>, preprocess the prefix minimum array <code>prefix_min[i] = min(nums[0], nums[1], ..., nums[i])</code>, and the suffix minimum array <code>suffix_min[i] = min(nums[i], nums[i + 1], ..., nums[i - 1])</code>."