Turn a singly linked list around k nodes at a time, in place: a dummy head, the node before each group, and three pointers to flip its links. The nodes move and no value is copied, against copying to an array.
This interactive visualization needs JavaScript.