Throws error Test UNHANDLED EXCEPTION ( 1/203) TypeError: object of type ‘ListNode’ has no len()
L: [-8, -8, -7, -5, -5, -4, 1, 2, 2, 2, 2, 4, 5, 5, 7, 7]
expected: [-8, -7, -5, -4, 1, 2, 4, 5, 7]
when running the test (the answer in the book uses len, and it clearly states that a list is the input)