1486: 怎样翻转链表?

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:175 Solved:47

Description

怎样翻转链表?

Input

1,2,3,4,5,6,7

Output

7,6,5,4,3,2,1

Sample Input Copy

1,2,3,4,5,6,7

Sample Output Copy

7,6,5,4,3,2,1

Source/Category