Given the head of a linked list, remove the nth node from the end of the list and return the head of the modified list.
Click Run to execute sample tests.