Reverse Nodes in k-Group — Linked List
Reverse each complete group of consecutive items in a chain, leaving a short trailing group untouched, and return the new start.
Linked List · Hard
Reverse each complete group of consecutive items in a chain, leaving a short trailing group untouched, and return the new start.
Linked List · Hard