Housejoy interview question

Reverse a linked list in k groups