1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +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,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 308,
"dislikes": 10,
"likes": 332,
"dislikes": 12,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Subarray Product Less Than K\", \"titleSlug\": \"subarray-product-less-than-k\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Number of Valid Subarrays\", \"titleSlug\": \"number-of-valid-subarrays\", \"difficulty\": \"Hard\", \"translatedTitle\": null}]",
"exampleTestcases": "[3,2,1,4]\n[8,6,7,7]\n[1]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"17.3K\", \"totalSubmission\": \"31.4K\", \"totalAcceptedRaw\": 17295, \"totalSubmissionRaw\": 31356, \"acRate\": \"55.2%\"}",
"stats": "{\"totalAccepted\": \"18.2K\", \"totalSubmission\": \"32.9K\", \"totalAcceptedRaw\": 18190, \"totalSubmissionRaw\": 32873, \"acRate\": \"55.3%\"}",
"hints": [
"Any array is a series of adjacent longest possible smooth descent periods. For example, [5,3,2,1,7,6] is [5] + [3,2,1] + [7,6].",
"Think of a 2-pointer approach to traverse the array and find each longest possible period.",