Skip to content

Commit f250973

Browse files
author
lanyuanxiaoyao
committed
修改文件: _posts/2016-11-01-odd-even-linked-list.md
1 parent a76f242 commit f250973

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_posts/2016-11-01-odd-even-linked-list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ categories: LeetCode
66
tags: [LeetCode,Medium,链表]
77
---
88

9+
* content
10+
{:toc}
11+
12+
913
>Given a singly linked list, group all odd nodes together followed by the even nodes.
1014
Please note here we are talking about the node number and not the value in the nodes.
1115
You should try to do it in place. The program should run in O(1) space complexity and O(nodes) time complexity.

0 commit comments

Comments
 (0)