Given a singly linked list, reverse the nodes of the linked list in groups of k, where you reverse the first k nodes, skip the next k nodes, and repeat this pattern.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.