Topic: Linked List Problem / Level: advanced

Problem: Write a function to split a singly linked list into two lists where one contains nodes with even-positioned values and the other contains odd-positioned values.

Run the code to see the output here...