剑指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
相关文章
相关标签/搜索