Sponsored
Use these hints if you're stuck. Try solving on your own first.
Convert the linked list into an array.
While you can find a non-empty subarray with sum = 0, erase it.
Convert the array into a linked list.
Solve with full IDE support and test cases