Topic: Linked List Problem / Level: advanced

Problem: How do you split a circular doubly linked list into two lists where one list contains nodes with even values and the other contains odd values?

Run the code to see the output here...