mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
update
This commit is contained in:
@@ -155,7 +155,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"18.9K\", \"totalSubmission\": \"26.1K\", \"totalAcceptedRaw\": 18884, \"totalSubmissionRaw\": 26123, \"acRate\": \"72.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"18.9K\", \"totalSubmission\": \"26.1K\", \"totalAcceptedRaw\": 18885, \"totalSubmissionRaw\": 26124, \"acRate\": \"72.3%\"}",
|
||||
"hints": [
|
||||
"Use an array to represent the stack. Push will add new integer to the array. Pop removes the last element in the array and increment will add val to the first k elements of the array.",
|
||||
"This solution run in O(1) per push and pop and O(k) per increment."
|
||||
|
Reference in New Issue
Block a user