1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-04 06:51:41 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2022-03-29 15:21:05 +08:00
parent b84ae535b7
commit e730aa6794
2244 changed files with 8703 additions and 59499 deletions

View File

@@ -11,8 +11,8 @@
"translatedContent": null,
"isPaidOnly": false,
"difficulty": "Medium",
"likes": 427,
"dislikes": 15,
"likes": 434,
"dislikes": 16,
"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.2K\", \"totalSubmission\": \"30.7K\", \"totalAcceptedRaw\": 25228, \"totalSubmissionRaw\": 30666, \"acRate\": \"82.3%\"}",
"stats": "{\"totalAccepted\": \"25.5K\", \"totalSubmission\": \"31K\", \"totalAcceptedRaw\": 25481, \"totalSubmissionRaw\": 30986, \"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.",