更新图床

This commit is contained in:
programmercarl
2023-03-10 14:02:32 +08:00
parent 2a9b627a90
commit 17cb4b45c7
134 changed files with 1169 additions and 829 deletions

View File

@@ -116,7 +116,7 @@ public:
再来看后序遍历先序遍历是中左右后续遍历是左右中那么我们只需要调整一下先序遍历的代码顺序就变成中右左的遍历顺序然后在反转result数组输出的结果顺序就是左右中了如下图
![前序到后序](https://img-blog.csdnimg.cn/20200808200338924.png)
![前序到后序](https://code-thinking-1253855093.file.myqcloud.com/pics/20200808200338924.png)
**所以后序遍历只需要前序遍历的代码稍作修改就可以了,代码如下:**