Write a function that takes a linked list as input and returns the second to last node in the list.
The candidate's solution is correct and demonstrates a level of completeness. The approach is also optimal, as it only requires one pass through the list.
Evaluated at: 2022-12-06 04:15:30