Given the head of a singly linked list and an integer n, remove the nth node from the end of the list and return the head of the modified list.
head
n
th
Constraints:
The number of nodes in the list is kkk.
1≤1 \leq1≤ kkk ≤103\leq 10^3≤103
−103≤−10^3 \leq−1 ...