Topic: Linked List Problem / Level: advanced

Problem: How do you split a sorted circular singly linked list into two lists where one list contains nodes divisible by 3 and the other by 5?

Run the code to see the output here...