Topic: Linked List Problem / Level: advanced

Problem: How do you split a sorted singly linked list into k parts where each part contains alternating prime and composite values?

Run the code to see the output here...