参考BM1链表反转的题解 public class Solution { public ListNode reverseKGroup (ListNode head, int k) { // write code here if(k==1) return head; ListNode res=head; ListNode now=head; ListNode beg=head; while(Solution.isContinue(now,k)){ ListNode temp=now; ListNode nex=temp.next; ListNode las; int c=k; while(--...