mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"6.5K\", \"totalSubmission\": \"29.6K\", \"totalAcceptedRaw\": 6536, \"totalSubmissionRaw\": 29624, \"acRate\": \"22.1%\"}",
|
||||
"stats": "{\"totalAccepted\": \"6.5K\", \"totalSubmission\": \"29.6K\", \"totalAcceptedRaw\": 6538, \"totalSubmissionRaw\": 29633, \"acRate\": \"22.1%\"}",
|
||||
"hints": [
|
||||
"Notice that an element will be removed if and only if there exists a strictly greater element to the left of it in the array.",
|
||||
"For each element, we need to find the number of rounds it will take for it to be removed. The answer is the maximum number of rounds for all elements. Build an array dp to hold this information where the answer is the maximum value of dp.",
|
||||
|
Reference in New Issue
Block a user