Topic: Linked List Problem / Level: advanced

Problem: How do you rotate a multilevel doubly linked list by k positions while maintaining the order of every third node?

Run the code to see the output here...