1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2023-12-09 19:57:46 +08:00
parent 9bc4722a45
commit 3770b44d1e
4792 changed files with 10889 additions and 10886 deletions

View File

@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"103.8K\", \"totalSubmission\": \"134.7K\", \"totalAcceptedRaw\": 103791, \"totalSubmissionRaw\": 134690, \"acRate\": \"77.1%\"}",
"stats": "{\"totalAccepted\": \"103.8K\", \"totalSubmission\": \"134.7K\", \"totalAcceptedRaw\": 103805, \"totalSubmissionRaw\": 134706, \"acRate\": \"77.1%\"}",
"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."