mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-07 00:11:41 +08:00
update
This commit is contained in:
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"35.5K\", \"totalSubmission\": \"60.7K\", \"totalAcceptedRaw\": 35516, \"totalSubmissionRaw\": 60684, \"acRate\": \"58.5%\"}",
|
||||
"stats": "{\"totalAccepted\": \"35.5K\", \"totalSubmission\": \"60.7K\", \"totalAcceptedRaw\": 35517, \"totalSubmissionRaw\": 60687, \"acRate\": \"58.5%\"}",
|
||||
"hints": [
|
||||
"Maintain two integer variables, direction and i, where direction denotes the current direction in which the pillow should pass, and i denotes an index of the person holding the pillow.",
|
||||
"While time is positive, update the current index with the current direction. If the index reaches the end of the line, multiply direction by - 1."
|
||||
|
Reference in New Issue
Block a user