树遍历的递归与产出相结合为了遍历一棵树,我尝试将递归和屈服结合起来 这就是我现在的情况。但是,当我尝试遍历树时,它似乎只遍历根节点 class Tree: ... def post_order(self, n ...2024-04-27 已阅读: n次