做题的时候碰到了需要倒置线性链表的问题,但是它并不是完全倒置,而是分段倒置。具体题目如下: Reversing Linked List: Given a constant KK and a singly linked list LL,