1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-21 21:16:45 +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

@@ -12,7 +12,7 @@
"translatedContent": "<p>给定单向链表的头指针和一个要删除的节点的值,定义一个函数删除该节点。</p>\n\n<p>返回删除后的链表的头节点。</p>\n\n<p><strong>注意:</strong>此题对比原题有改动</p>\n\n<p><strong>示例 1:</strong></p>\n\n<pre><strong>输入:</strong> head = [4,5,1,9], val = 5\n<strong>输出:</strong> [4,1,9]\n<strong>解释: </strong>给定你链表中值为&nbsp;5&nbsp;的第二个节点,那么在调用了你的函数之后,该链表应变为 4 -&gt; 1 -&gt; 9.\n</pre>\n\n<p><strong>示例 2:</strong></p>\n\n<pre><strong>输入:</strong> head = [4,5,1,9], val = 1\n<strong>输出:</strong> [4,5,9]\n<strong>解释: </strong>给定你链表中值为&nbsp;1&nbsp;的第三个节点,那么在调用了你的函数之后,该链表应变为 4 -&gt; 5 -&gt; 9.\n</pre>\n\n<p>&nbsp;</p>\n\n<p><strong>说明:</strong></p>\n\n<ul>\n\t<li>题目保证链表中节点的值互不相同</li>\n\t<li>若使用 C 或 C++ 语言,你不需要 <code>free</code> 或 <code>delete</code> 被删除的节点</li>\n</ul>\n",
"isPaidOnly": false,
"difficulty": "Easy",
"likes": 208,
"likes": 215,
"dislikes": 0,
"isLiked": null,
"similarQuestions": "[]",
@@ -137,7 +137,7 @@
"__typename": "CodeSnippetNode"
}
],
"stats": "{\"totalAccepted\": \"246.9K\", \"totalSubmission\": \"411.1K\", \"totalAcceptedRaw\": 246932, \"totalSubmissionRaw\": 411092, \"acRate\": \"60.1%\"}",
"stats": "{\"totalAccepted\": \"257.7K\", \"totalSubmission\": \"428.8K\", \"totalAcceptedRaw\": 257655, \"totalSubmissionRaw\": 428841, \"acRate\": \"60.1%\"}",
"hints": [],
"solution": null,
"status": null,