Topic: Linked List Problem / Level: intermediate

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

Run the code to see the output here...