Remove the n-th node from the end of a linked list in one pass and return the head. Use two pointers n nodes apart and a dummy head so removing the first node works too.
n
ListNode, from_list and to_list are provided.
ListNode
from_list
to_list