Given a linked list, remove the n-th node from the end of list and return its head.
1 一种方法是使用两个指针,cur和pre,先让cur走N步,如果走完N步后,指向了空,则说明N就是linked list的长度,只需要删除head就行,也就是返回head.next;如果cur走了N步后不为空,pre也开始走,直到cur走到最后一个元素,因为pre和cur相差N步,所以此时pre指向需要移除元素的前一个元素,然后我们修改指针跳过需要移除的元素即可

如果走了n步后,fast指向None,说明需要去掉head

