Topic: Linked List Problem / Level: advanced

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

Run the code to see the output here...