226. Invert Binary Tree

题目 我的代码(递归) # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def invertTree(self, root: TreeNo
相关文章
相关标签/搜索