【Leetcode_總結】114. 二叉樹展開爲鏈表 - python

Q: 給定一個二叉樹,原地將它展開爲鏈表。 例如,給定二叉樹 1 / \ 2 5 / \ \ 3 4 6 將其展開爲: 1 \ 2 \ 3 \ 4 \ 5 \ 6 鏈接:https://leetcode-cn.com/problems/flatten-b
相關文章
相關標籤/搜索