[LeetCode] Swap Nodes in Pairs、Reverse Nodes in k-Group、Rotate List
SwapNodesinPairs:Givenalinkedlist,swapeverytwoadjacentnodesandreturnitshead.Forexample,Given 1->2->3->4,youshouldreturnthelistas 2->1->4->3.Youralgorithmshoulduseonlyconstantspace.Youmay not modifythe