mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 294,
|
||||
"likes": 297,
|
||||
"dislikes": 14,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Non-decreasing Array\", \"titleSlug\": \"non-decreasing-array\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Longest Mountain in Array\", \"titleSlug\": \"longest-mountain-in-array\", \"difficulty\": \"Medium\", \"translatedTitle\": null}, {\"title\": \"Find in Mountain Array\", \"titleSlug\": \"find-in-mountain-array\", \"difficulty\": \"Hard\", \"translatedTitle\": null}, {\"title\": \"Maximum Ascending Subarray Sum\", \"titleSlug\": \"maximum-ascending-subarray-sum\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"8.8K\", \"totalSubmission\": \"19K\", \"totalAcceptedRaw\": 8831, \"totalSubmissionRaw\": 19014, \"acRate\": \"46.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"8.9K\", \"totalSubmission\": \"19.1K\", \"totalAcceptedRaw\": 8881, \"totalSubmissionRaw\": 19126, \"acRate\": \"46.4%\"}",
|
||||
"hints": [
|
||||
"The trivial solution is to check the time days before and after each day. There are a lot of repeated operations using this solution. How could we optimize this solution?",
|
||||
"We can use precomputation to make the solution faster.",
|
||||
|
Reference in New Issue
Block a user