Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1803--数据结构概论上机考试1-1061
1803: 数据结构概论上机考试1-1061
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
452
Solved:
82
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
给定一个单链表 L1→L2→⋯→Ln−1→Ln,请编写程序将链表重新排列为 L3→⋯ Ln→L1→L2。
Sample Input
Copy
1 2 3 4 5 6
Sample Output
Copy
3 4 5 6 1 2
Source/Category
389