1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 07:21:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 314,
"likes": 315,
"dislikes": 20,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Number of Students Unable to Eat Lunch\", \"titleSlug\": \"number-of-students-unable-to-eat-lunch\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
@@ -149,7 +149,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"19.6K\", \"totalSubmission\": \"31.6K\", \"totalAcceptedRaw\": 19631, \"totalSubmissionRaw\": 31557, \"acRate\": \"62.2%\"}",
"stats": "{\"totalAccepted\": \"19.8K\", \"totalSubmission\": \"31.8K\", \"totalAcceptedRaw\": 19783, \"totalSubmissionRaw\": 31771, \"acRate\": \"62.3%\"}",
"hints": [
"Loop through the line of people and decrement the number of tickets for each to buy one at a time as if simulating the line moving forward. Keep track of how many tickets have been sold up until person k has no more tickets to buy.",
"Remember that those who have no more tickets to buy will leave the line."