1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-07 00:11:41 +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\": \"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."