陈越、何钦铭-数据结构作业6:Reversing Linked List链表翻转

时间:2021-04-15 17:21:09
【文件属性】:
文件名称:陈越、何钦铭-数据结构作业6:Reversing Linked List链表翻转
文件大小:2KB
文件格式:CPP
更新时间:2021-04-15 17:21:09
陈越 数据结构 Reversing 链表翻转 Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, if K=3, then you must output 3→2→1→6→5→4; if K=4, you must output 4→3→2→1→5→6.

网友评论