GlobalLogic Interview Question

Reverse a k - spaced linkedlist