Reverse the list k nodes at a time. If fewer than k nodes are left over at the end, leave that tail untouched. Two approaches — an iterative in-place reversal and a recursive one — switch between them and watch each group flip.