Topic: Linked List Problem / Level: advanced

Problem: Write a function to rotate a doubly linked list left by k positions, but keep the relative order of every third node unchanged.

Run the code to see the output here...