删除链表倒数第n个节点(19)
摘要:
法一:# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def removeNthFrom 阅读全文
posted @ 2020-08-17 17:16 不要挡着我晒太阳 阅读(53) 评论(0) 推荐(0) 编辑