Topic: Linked List Problem / Level: advanced

Problem: How do you split a doubly linked list into two lists, one containing nodes divisible by 5 and the other containing nodes divisible by 7?

Run the code to see the output here...