← Return

19. Remove Nth Node From End of ListMedium

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