1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-05 23:41: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

@@ -12,7 +12,7 @@
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 454,
"dislikes": 83,
"dislikes": 84,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Last Moment Before All Ants Fall Out of a Plank\", \"titleSlug\": \"last-moment-before-all-ants-fall-out-of-a-plank\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
"exampleTestcases": "[-2,0,2]\n\"RLL\"\n3\n[1,0]\n\"RL\"\n2",
@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"42K\", \"totalAcceptedRaw\": 11776, \"totalSubmissionRaw\": 41975, \"acRate\": \"28.1%\"}",
"stats": "{\"totalAccepted\": \"11.8K\", \"totalSubmission\": \"42K\", \"totalAcceptedRaw\": 11777, \"totalSubmissionRaw\": 41983, \"acRate\": \"28.1%\"}",
"hints": [
"Observe that if you ignore collisions, the resultant positions of robots after d seconds would be the same.",
"After d seconds, sort the ending positions and use prefix sum to calculate the distance sum."