Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the end, the linked list becomes 1->2->3->5. Note: Given n w…
链接 Remove Nth Node From End of List 难度 Medium 描述 Given a linked list, remove the n -th node from the end of list and return its head. 给定一个链表,要求移除导数第n个元素,并且返回新链表的head 样例: Given linked list: **1- >2->3->4->5**, and **_n_ = 2**. After removing th…