- 博客(1)
- 收藏
- 关注
原创 中国大学MOOC-陈越、何钦铭-数据结构-02-线性结构3 Reversing Linked List (25 分)
原题目: 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. Input Specification:
2021-10-16 21:29:28
320
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人