The JavaScript test cases are completely messed up

  • 0

    JavaScript test case #25 claims inputs for l1 and l2 are [2] and [1] respectively. After examining l1 and l2 however what I see is:

    l1 = {value: undefined, next: null}
    l2 = {value: undefined, next: null}

    The system still expects an output of [1, 2] (as an array!!!).

    Completely broken and unworkable.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.