Reverse every alternate group of k nodes in a linked list - Techie Delight

Given a linked list, reverse every alternate group of k nodes in it where k is given positive integer... The idea is to traverse the linked list and consider every group of 2*k nodes at a time.