leetcode20200423每日一题-21. 合并两个有序链表

1.题目 2.题目意思 合并两个链表,很好理解~node 3.代码 解法1: # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def mergeTwoLists(self, l1
相关文章
相关标签/搜索