摘要: O(1)的空间内合并两个链表 python class ListNode: def __init__(self, x): self.val = x self.next = None def merge(l1, l2): head = point = ListNode(0) while l1 and 阅读全文
posted @ 2020-07-02 09:01 r1-12king 阅读(153) 评论(0) 推荐(0) 编辑