1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-08 08:51:42 +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\": \"22.2K\", \"totalSubmission\": \"41.5K\", \"totalAcceptedRaw\": 22157, \"totalSubmissionRaw\": 41477, \"acRate\": \"53.4%\"}",
"stats": "{\"totalAccepted\": \"22.2K\", \"totalSubmission\": \"41.5K\", \"totalAcceptedRaw\": 22159, \"totalSubmissionRaw\": 41479, \"acRate\": \"53.4%\"}",
"hints": [
"栈只是一个数据结构,其中最近添加的元素首先被删除。你能用一个数组来模拟单个栈吗?请记住,有很多可能的解法且每个解法都有其利弊。",
"我们可以通过将数组的前三分之一分配到第一个栈、第二个三分之一分配到第二个栈、最后的第三个三分之一分配到第三个栈,来模拟数组中的三个栈。然而,实际上某个栈可能比其他的大得多。能更灵活地分配吗?",