114. 二叉樹展開爲鏈表

class Solution: def flatten(self, root): """ :type root: TreeNode :rtype: void Do not return anything, modify root in-place instead. """ if root == None: return
相關文章
相關標籤/搜索