Topic: Linked List Problem / Level: intermediate

Problem: How do you split a singly linked list into two separate lists where one contains prime numbers and the other contains non-prime numbers?

Run the code to see the output here...