Linked-list changes depend on preserving access to the suffix before overwriting a link. Draw the current node, its successor, and the first untouched node. Save the pointer you still need, then change links in an order that can't lose it. A dummy predecessor lets the first group use the same rewiring logic as every later group.
The exercises progress through sorted deduplication, rotation, adjacent swaps, stable partitioning, and complete-group reversal. Empty lists and one-node lists make useful first traces because they reveal unsafe dereferences. For rotation, a temporary ring must be cut back into a chain. For partitioning, each group needs its own tail. For group reversal, confirm k nodes exist before changing anything so a short final suffix remains in its original order.