mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Easy",
|
||||
"likes": 315,
|
||||
"dislikes": 20,
|
||||
"likes": 332,
|
||||
"dislikes": 22,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Number of Students Unable to Eat Lunch\", \"titleSlug\": \"number-of-students-unable-to-eat-lunch\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[2,3,2]\n2\n[5,1,1,1]\n0",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"19.8K\", \"totalSubmission\": \"31.8K\", \"totalAcceptedRaw\": 19783, \"totalSubmissionRaw\": 31771, \"acRate\": \"62.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"21.4K\", \"totalSubmission\": \"34.3K\", \"totalAcceptedRaw\": 21404, \"totalSubmissionRaw\": 34298, \"acRate\": \"62.4%\"}",
|
||||
"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