![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
Alex-panda
这个作者很懒,什么都没留下…
展开
-
C++ 算法
原创 2021-08-28 10:19:58 · 116 阅读 · 0 评论 -
python算法第二阶段
前序+后序->层次遍历 import json from typing import List """ 前序:[1,2,4,5,3,6,7] 后序:[4,5,2,6,7,3,1] [1, 2, 3, 4, 5, 6, 7, null, null, null, null, null, null, null, null] 关键点: 左分支有 LL 个节点。我们知道左分支的头节点为 pre[1],但它也出现在左分支的后序表示的最后。 所以 pre[1] = post[L-1](因为结点的值具有唯一性),原创 2021-07-27 10:49:47 · 200 阅读 · 0 评论 -
2021-02-20
目前开始转写知乎!欢迎关注我的新博客文章 https://zhuanlan.zhihu.com/p/348208307 https://zhuanlan.zhihu.com/p/347210210 https://zhuanlan.zhihu.com/p/346805926 https://zhuanlan.zhihu.com/p/346425293 https://zhuanlan.zhihu.com/p/347080354 ...原创 2021-02-20 12:16:57 · 70 阅读 · 0 评论