摘要: 问题: 拉平二叉树 -> 只有right分支的链表。 For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 \ 2 \ 3 \ 4 \ 5 \ 6 解法: 阅读全文
posted @ 2020-09-22 11:26 habibah_chang 阅读(124) 评论(0) 推荐(0) 编辑