Topic: Linked List Problem / Level: advanced

Problem: Write a function to split a singly linked list into k groups where each group contains at least one prime number.

Run the code to see the output here...