Topic: Linked List Problem / Level: advanced

Problem: Implement a function to split a sorted singly linked list into two lists, one containing nodes divisible by 3 and the other divisible by 5.

Run the code to see the output here...