Given the head of a linked list, remove the n -th node counting from the end and return the head. Input format Input is [list, n] , e.g. [[1,2,3,4,5],2] . ListNode is predefined.