Topic: Linked List Problem / Level: advanced

Problem: Write a function to rotate a doubly linked list such that every k-th node becomes the new head using recursion.

Run the code to see the output here...