Microsoft Interview Question

LinkedList swap m nodes amongst each k nodes