Zopping interview question

Create a Linked List from stream Flip a Linked list after every k steps