06.11 · Problem
Reverse Nodes in k-Group
This problem is part of solulu Pro
Reverse the nodes of a linked list k at a time and return the new head. If the number of nodes left at the end is less than k, leave them as they are. Only change links, not values.
Lifetime ₹1,999 ₹999 · Launch offer
Item 45 of 150 · updated 2026-10-12