1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 15:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-05-02 23:44:12 +08:00
parent 7ea03594b3
commit 2a71c78585
4790 changed files with 11696 additions and 10944 deletions

View File

@@ -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.",