PAT_(链表处理) 1074 Reversing Linked List 1032 Sharing
1074ReversingLinkedList(25分)GivenaconstantKandasinglylinkedlistL,youaresupposedtoreversethelinksofeveryKelementsonL.Forexample,givenLbeing1→2→3→4→5→6,ifK=3,thenyoumustoutput3→2→1→6→5→4;ifK=4,youmustou