Topic: Linked List Problem / Level: intermediate

Problem: How do you rearrange nodes in a circular singly linked list such that nodes with odd values appear before nodes with even values?

Run the code to see the output here...