Topic: Linked List Problem / Level: advanced

Problem: Write a function to rearrange nodes in a circular doubly linked list such that all nodes with odd-positioned values appear before even-positioned values.

Run the code to see the output here...