fucking algorithm - 二叉树(东哥篇)

时间:2021-04-13 12:42:14   收藏:0   阅读:0

1. 翻转二叉树:https://leetcode-cn.com/problems/invert-binary-tree/

 

2. 二叉树展开为链表,关键在于找到递归部分:https://leetcode-cn.com/problems/flatten-binary-tree-to-linked-list/

技术图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!