本站独家赞助 青城博雅 IT校招就业考研-找青城博雅 特别优惠码 heaboy 

1486: 怎样翻转链表?

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:18331011889
Submit:237 Solved:55

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