Topic: Linked List Problem / Level: advanced

Problem: Implement a function to reverse every k-th node in a doubly linked list while preserving the relative order of the other nodes.

Run the code to see the output here...