折叠
摘要: #节点 class ListNode: def __init__(self,val = 0,next = None): self.val = val self.next = next #空链表 class LinkedList: def __init(self): self.head = None 阅读全文
posted @ 2022-01-13 23:27 Coverpast 阅读(37) 评论(0) 推荐(0) 编辑