Remove N-th Node from End of Linked List

Given the head of a linked list, remove the N-th node from the end and return its head.

Difficulty:

Console