Amazon Interview Question

reverse k nodes in a linked list.