Topic: Linked List Problem / Level: intermediate

Problem: Write a function to reverse nodes in a singly linked list in groups of k, with each group reversed in the opposite direction.

Run the code to see the output here...