Topic: Linked List Problem / Level: intermediate

Problem: Write a function to split a sorted doubly linked list into two lists based on even and odd indexed nodes.

Run the code to see the output here...