mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 06:51:41 +08:00
update
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Hard",
|
||||
"likes": 1756,
|
||||
"likes": 1758,
|
||||
"dislikes": 71,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Jump Game VII\", \"titleSlug\": \"jump-game-vii\", \"difficulty\": \"Medium\", \"translatedTitle\": null}]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"69.7K\", \"totalSubmission\": \"156.9K\", \"totalAcceptedRaw\": 69696, \"totalSubmissionRaw\": 156933, \"acRate\": \"44.4%\"}",
|
||||
"stats": "{\"totalAccepted\": \"69.8K\", \"totalSubmission\": \"157.2K\", \"totalAcceptedRaw\": 69789, \"totalSubmissionRaw\": 157154, \"acRate\": \"44.4%\"}",
|
||||
"hints": [
|
||||
"Build a graph of n nodes where nodes are the indices of the array and edges for node i are nodes i+1, i-1, j where arr[i] == arr[j].",
|
||||
"Start bfs from node 0 and keep distance. The answer is the distance when you reach node n-1."
|
||||
|
Reference in New Issue
Block a user