Two Pointers: farer than 99.67%   memory less than 99.98%
\nclass Solution:\n    def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode:\n        fast = head\n        while n > 0:\n            fast = fast.next\
```\nclass Solution:\n    def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode:\n        fast = head\n        while n > 0:\n            fast = fast.next\n            n -= 1\n        if not fast: return head.next\n        slow = head\n        while fast.next:\n            fast = fast.next\n            slow = slow.next\n        slow.next = slow.next.next\n        return head\n```
['Python', 'Python3']