劍指offer python版 26.樹的子結構

class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def Merge(self, pHead1, pHead2): if pHead1 is None: return pHead2
相關文章
相關標籤/搜索