1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 568,
"likes": 584,
"dislikes": 24,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Largest Rectangle in Histogram\", \"titleSlug\": \"largest-rectangle-in-histogram\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"13K\", \"totalSubmission\": \"25.3K\", \"totalAcceptedRaw\": 12996, \"totalSubmissionRaw\": 25276, \"acRate\": \"51.4%\"}",
"stats": "{\"totalAccepted\": \"13.4K\", \"totalSubmission\": \"26.1K\", \"totalAcceptedRaw\": 13435, \"totalSubmissionRaw\": 26050, \"acRate\": \"51.6%\"}",
"hints": [
"Try thinking about the prefix before index k and the suffix after index k as two separate arrays.",
"Using two pointers or binary search, we can find the maximum prefix of each array where the numbers are less than or equal to a certain value"