Topic: Linked List Problem / Level: intermediate

Problem: How do you split a singly linked list into two separate lists, one containing nodes with even values and the other with odd values?

Run the code to see the output here...