Topic: Linked List Problem / Level: intermediate

Problem: How do you split a sorted doubly linked list into two lists based on odd and even values?

Run the code to see the output here...