Topic: Linked List Problem / Level: intermediate

Problem: Implement a function to split a doubly linked list into two lists, one containing prime values and the other containing non-prime values.

Run the code to see the output here...