mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-13 09:25:15 +08:00
update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<p>给定单链表的头节点 <code>head</code> ,将所有索引为奇数的节点和索引为偶数的节点分别组合在一起,然后返回重新排序的列表。</p>
|
||||
<p>给定单链表的头节点 <code>head</code> ,将所有索引为奇数的节点和索引为偶数的节点分别分组,保持它们原有的相对顺序,然后把偶数索引节点分组连接到奇数索引节点分组之后,返回重新排序的链表。</p>
|
||||
|
||||
<p><strong>第一个</strong>节点的索引被认为是 <strong>奇数</strong> , <strong>第二个</strong>节点的索引为 <strong>偶数</strong> ,以此类推。</p>
|
||||
|
||||
|
Reference in New Issue
Block a user