1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-08 17:01: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

@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"16.6K\", \"totalSubmission\": \"34.5K\", \"totalAcceptedRaw\": 16628, \"totalSubmissionRaw\": 34480, \"acRate\": \"48.2%\"}",
"stats": "{\"totalAccepted\": \"16.6K\", \"totalSubmission\": \"34.5K\", \"totalAcceptedRaw\": 16629, \"totalSubmissionRaw\": 34483, \"acRate\": \"48.2%\"}",
"hints": [
"You need a data structure that maintains the states of the seats. This data structure should also allow you to get the first available seat and flip the state of a seat in a reasonable time.",
"You can let the data structure contain the available seats. Then you want to be able to get the lowest element and erase an element, in a reasonable time.",