mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 07:21:40 +08:00
update
This commit is contained in:
@@ -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."
|
||||
|
Reference in New Issue
Block a user