start. Return the node that sits exactly in the middle.
If the list has an even number of nodes, there are two middle nodes; return the second one (the one closer to the end).
You return the node itself, so the whole tail starting from it is what gets checked.start=list_node([7, 4, 9]) → [4, 9]
The middle node is the second one, holding 4; from there the list reads [4, 9].
start=list_node([12, 5, 30, 8]) → [30, 8]
There are two middle nodes, 5 and 30; the second one is required, so the answer starts at 30.
start=list_node([42]) → [42]
start=list_node([7, 4, 9])
[4, 9]
Run checks the first 3 tests in your browser. Submit checks all 69 tests on the server, hidden ones included.