1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 23:11:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 314,
"dislikes": 48,
"likes": 317,
"dislikes": 49,
"isLiked": null,
"similarQuestions": "[]",
"exampleTestcases": "[\"DinnerPlates\",\"push\",\"push\",\"push\",\"push\",\"push\",\"popAtStack\",\"push\",\"push\",\"popAtStack\",\"popAtStack\",\"pop\",\"pop\",\"pop\",\"pop\",\"pop\"]\n[[2],[1],[2],[3],[4],[5],[0],[20],[21],[0],[2],[],[],[],[],[]]",
@@ -155,7 +155,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"13.4K\", \"totalSubmission\": \"38.8K\", \"totalAcceptedRaw\": 13387, \"totalSubmissionRaw\": 38754, \"acRate\": \"34.5%\"}",
"stats": "{\"totalAccepted\": \"13.6K\", \"totalSubmission\": \"39.5K\", \"totalAcceptedRaw\": 13583, \"totalSubmissionRaw\": 39520, \"acRate\": \"34.4%\"}",
"hints": [
"Use a data structure to save the plate status. You may need to operate the exact index. Maintain the leftmost vacant stack and the rightmost non-empty stack.",
"Use a list of stack to store the plate status. Use heap to maintain the leftmost and rightmost valid stack."