mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -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>."
|
||||
|
Reference in New Issue
Block a user