Topic: Linked List Problem / Level: intermediate

Problem: Write a function to split a sorted singly linked list into two lists based on whether node values are divisible by 2 or 3.

Run the code to see the output here...