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