mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-04 15:01:40 +08:00
update
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
"translatedContent": null,
|
||||
"isPaidOnly": false,
|
||||
"difficulty": "Medium",
|
||||
"likes": 434,
|
||||
"dislikes": 16,
|
||||
"likes": 509,
|
||||
"dislikes": 21,
|
||||
"isLiked": null,
|
||||
"similarQuestions": "[{\"title\": \"Reverse Linked List\", \"titleSlug\": \"reverse-linked-list\", \"difficulty\": \"Easy\", \"translatedTitle\": null}, {\"title\": \"Palindrome Linked List\", \"titleSlug\": \"palindrome-linked-list\", \"difficulty\": \"Easy\", \"translatedTitle\": null}, {\"title\": \"Middle of the Linked List\", \"titleSlug\": \"middle-of-the-linked-list\", \"difficulty\": \"Easy\", \"translatedTitle\": null}]",
|
||||
"exampleTestcases": "[5,4,2,1]\n[4,2,2,3]\n[1,100000]",
|
||||
@@ -149,7 +149,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"25.5K\", \"totalSubmission\": \"31K\", \"totalAcceptedRaw\": 25481, \"totalSubmissionRaw\": 30986, \"acRate\": \"82.2%\"}",
|
||||
"stats": "{\"totalAccepted\": \"29.7K\", \"totalSubmission\": \"36.2K\", \"totalAcceptedRaw\": 29739, \"totalSubmissionRaw\": 36176, \"acRate\": \"82.2%\"}",
|
||||
"hints": [
|
||||
"How can \"reversing\" a part of the linked list help find the answer?",
|
||||
"We know that the nodes of the first half are twins of nodes in the second half, so try dividing the linked list in half and reverse the second half.",
|
||||
|
Reference in New Issue
Block a user