25 Reverse Nodes in k-Group
Intuition & AlgorithmThe very intuitive method to solve this problem is:
splice the List into k nodes a group
reverse the group list
reconnect gr
...
Go for it.