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": "Easy",
"likes": 2073,
"likes": 2108,
"dislikes": 144,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Minimum Number of Removals to Make Mountain Array\", \"titleSlug\": \"minimum-number-of-removals-to-make-mountain-array\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
@@ -119,7 +119,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"283.4K\", \"totalSubmission\": \"838.4K\", \"totalAcceptedRaw\": 283388, \"totalSubmissionRaw\": 838394, \"acRate\": \"33.8%\"}",
"stats": "{\"totalAccepted\": \"288.8K\", \"totalSubmission\": \"855.6K\", \"totalAcceptedRaw\": 288785, \"totalSubmissionRaw\": 855567, \"acRate\": \"33.8%\"}",
"hints": [
"It's very easy to keep track of a monotonically increasing or decreasing ordering of elements. You just need to be able to determine the start of the valley in the mountain and from that point onwards, it should be a valley i.e. no mini-hills after that. Use this information in regards to the values in the array and you will be able to come up with a straightforward solution."
],