1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-24 14:28:56 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 16:56:27 +08:00
parent e730aa6794
commit ad15da05aa
2517 changed files with 7358 additions and 7332 deletions

View File

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"13.8K\", \"totalSubmission\": \"18.9K\", \"totalAcceptedRaw\": 13789, \"totalSubmissionRaw\": 18935, \"acRate\": \"72.8%\"}",
"stats": "{\"totalAccepted\": \"13.8K\", \"totalSubmission\": \"19K\", \"totalAcceptedRaw\": 13800, \"totalSubmissionRaw\": 18951, \"acRate\": \"72.8%\"}",
"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."