替换图片链接

This commit is contained in:
programmercarl
2025-03-17 15:52:23 +08:00
parent 91e7dab72c
commit 86a0208485
216 changed files with 813 additions and 813 deletions

View File

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