1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-13 11:21:42 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

add leetcode problem-cn part2

This commit is contained in:
2022-03-27 20:38:29 +08:00
parent 5a4fa6db12
commit 0fc7f4b734
1617 changed files with 134637 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<p>若链表中的某个节点,既不是链表头节点,也不是链表尾节点,则称其为该链表的「中间节点」。</p>
<p>假定已知链表的某一个中间节点,请实现一种算法,将该节点从链表中删除。</p>
<p>例如,传入节点 <code>c</code>(位于单向链表 <code>a->b->c->d->e->f</code> 中),将其删除后,剩余链表为 <code>a->b->d->e->f</code></p>
<p> </p>
<p><strong>示例:</strong></p>
<pre>
<strong>输入:</strong>节点 5 位于单向链表 4->5->1->9 
<strong>输出:</strong>不返回任何数据,从链表中删除传入的节点 5使链表变为 4->1->9
</pre>
<p> </p>