Topic: Linked List Problem / Level: advanced

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

Run the code to see the output here...