Topic: Linked List Problem / Level: intermediate

Problem: Implement a function to rearrange nodes in a doubly linked list such that all odd-positioned nodes come before even-positioned nodes.

Run the code to see the output here...