1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-13 09:25:15 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2025-09-29 14:43:44 +08:00
parent 2862a227c4
commit 13f2098086
4409 changed files with 168933 additions and 166256 deletions

View File

@@ -1,4 +1,4 @@
<p>给定单链表的头节点&nbsp;<code>head</code>&nbsp;,将所有索引为奇数的节点和索引为偶数的节点分别组合在一起,然后返回重新排序的表。</p>
<p>给定单链表的头节点&nbsp;<code>head</code>&nbsp;,将所有索引为奇数的节点和索引为偶数的节点分别分组,保持它们原有的相对顺序,然后把偶数索引节点分组连接到奇数索引节点分组之后,返回重新排序的表。</p>
<p><strong>第一个</strong>节点的索引被认为是 <strong>奇数</strong> <strong>第二个</strong>节点的索引为&nbsp;<strong>偶数</strong> ,以此类推。</p>