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

@@ -11,7 +11,7 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Hard",
"likes": 390,
"likes": 391,
"dislikes": 13,
"isLiked": null,
"similarQuestions": "[{\"title\": \"Asteroid Collision\", \"titleSlug\": \"asteroid-collision\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
@@ -161,7 +161,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"8.4K\", \"totalSubmission\": \"20.9K\", \"totalAcceptedRaw\": 8362, \"totalSubmissionRaw\": 20921, \"acRate\": \"40.0%\"}",
"stats": "{\"totalAccepted\": \"8.4K\", \"totalSubmission\": \"20.9K\", \"totalAcceptedRaw\": 8365, \"totalSubmissionRaw\": 20925, \"acRate\": \"40.0%\"}",
"hints": [
"Process the robots in the order of their positions to ensure that we process the collisions correctly.",
"To optimize the solution, use a stack to keep track of the surviving robots as we iterate through the positions.",