Topic: Linked List Problem / Level: intermediate

Problem: Write a function to split a sorted singly linked list into two lists based on whether the values are divisible by a given number.

Run the code to see the output here...